summaryrefslogtreecommitdiff
path: root/tools/gbagfx/convert_png.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gbagfx/convert_png.c')
-rw-r--r--tools/gbagfx/convert_png.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gbagfx/convert_png.c b/tools/gbagfx/convert_png.c
index cdfa39a..4f1b39e 100644
--- a/tools/gbagfx/convert_png.c
+++ b/tools/gbagfx/convert_png.c
@@ -125,7 +125,7 @@ void ReadPng(char *path, struct Image *image)
free(row_pointers);
fclose(fp);
- if (bit_depth != image->bitDepth)
+ if (bit_depth != image->bitDepth && image->tilemap.data.affine == NULL)
{
unsigned char *src = image->pixels;