Add tilemap rendering capability to gbagfx

This commit is contained in:
PikalaxALT
2020-04-24 08:47:22 -04:00
parent dc126e3016
commit 14f76fbe03
6 changed files with 218 additions and 2 deletions
+1 -1
View File
@@ -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;