mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 05:14:45 +00:00
Fixed assert in loadpng.c for debug version.
This commit is contained in:
parent
fd6f7dd156
commit
7ddf8d5ef2
2
third_party/loadpng/loadpng.c
vendored
2
third_party/loadpng/loadpng.c
vendored
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user