We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1304707 commit 2381370Copy full SHA for 2381370
src/IMG_png.c
@@ -231,6 +231,7 @@ int IMG_isPNG(SDL_RWops *src)
231
}
232
233
SDL_Surface *IMG_LoadPNG_RW(SDL_RWops *src) {
234
+ Sint64 start;
235
png_image image;
236
Sint64 src_length;
237
Uint8* raw_image_buffer;
@@ -283,7 +284,7 @@ SDL_Surface *IMG_LoadPNG_RW(SDL_RWops *src) {
283
284
285
int objects_read = SDL_RWread(src, raw_image_buffer, 1, src_length); // ec
286
- printf("objects_read=%i\n", objects_read);
287
+ //printf("objects_read=%i\n", objects_read);
288
289
if (lib.png_image_begin_read_from_memory(&image, raw_image_buffer, src_length)) {
290
/* If the image is natively encoded with a colormap, set the format to
0 commit comments