Fixed assert in loadpng.c for debug version.

This commit is contained in:
David Capello 2009-11-22 03:56:00 +00:00
parent fd6f7dd156
commit 7ddf8d5ef2

View File

@ -89,7 +89,7 @@ static BITMAP *really_load_png(png_structp png_ptr, png_infop info_ptr, RGB *pal
int tRNS_to_alpha = FALSE;
int number_passes, pass;
ASSERT(png_ptr && info_ptr && rgb);
ASSERT(png_ptr && info_ptr && pal);
/* The call to png_read_info() gives us all of the information from the
* PNG file before the first IDAT (image data chunk).