mirror of
https://github.com/libretro/libretro-common.git
synced 2024-11-27 10:20:53 +00:00
Resync
This commit is contained in:
parent
b91c0d672a
commit
3d86e1c699
@ -179,12 +179,14 @@ static bool png_process_ihdr(struct png_ihdr *ihdr)
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifdef RPNG_TEST
|
||||
fprintf(stderr, "IHDR: (%u x %u), bpc = %u, palette = %s, color = %s, alpha = %s, adam7 = %s.\n",
|
||||
ihdr->width, ihdr->height,
|
||||
ihdr_depth, (ihdr->color_type == PNG_IHDR_COLOR_PLT) ? "yes" : "no",
|
||||
(ihdr->color_type & PNG_IHDR_COLOR_RGB) ? "yes" : "no",
|
||||
(ihdr->color_type & PNG_IHDR_COLOR_GRAY_ALPHA) ? "yes" : "no",
|
||||
ihdr->interlace == 1 ? "yes" : "no");
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user