Garux 2020-11-05 14:23:33 +03:00
parent e42d17b71f
commit 58878b522a

View File

@ -132,6 +132,8 @@ Image* LoadPNGBuff( unsigned char* fbuffer ){
png_set_filler( png_ptr, 0xff, PNG_FILLER_AFTER );
}
png_set_interlace_handling( png_ptr );
// read the sucker in one chunk
png_read_update_info( png_ptr, info_ptr );