summaryrefslogtreecommitdiff
path: root/tools/gbagfx/convert_png.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-04-24 08:47:22 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-04-24 08:47:22 -0400
commit14f76fbe03d740d76c6867a87713fb469ae7eaa7 (patch)
tree804e2e3b537c585aeabea82ddf6e94e4e9f9854c /tools/gbagfx/convert_png.c
parentdc126e30169bd145d28c6d84e4bb466d96394d29 (diff)
Add tilemap rendering capability to gbagfx
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 cdfa39a7a..4f1b39e6d 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;