mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-01 15:50:27 +02:00
Fix glHint parameter, type size and add more null checks (#130)
This commit is contained in:
@ -40,7 +40,7 @@ void PNGAPI user_read_data_fcn(png_structp png_ptr, png_bytep data, png_size_t l
|
||||
|
||||
// changed by zola {
|
||||
io::IReadFile* file=(io::IReadFile*)png_get_io_ptr(png_ptr);
|
||||
check=(png_size_t) file->read((void*)data,(u32)length);
|
||||
check=(png_size_t) file->read((void*)data, length);
|
||||
// }
|
||||
|
||||
if (check != length)
|
||||
|
Reference in New Issue
Block a user