Skip to content

Commit 2381370

Browse files
committed
Update IMG_png.c
1 parent 1304707 commit 2381370

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/IMG_png.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ int IMG_isPNG(SDL_RWops *src)
231231
}
232232

233233
SDL_Surface *IMG_LoadPNG_RW(SDL_RWops *src) {
234+
Sint64 start;
234235
png_image image;
235236
Sint64 src_length;
236237
Uint8* raw_image_buffer;
@@ -283,7 +284,7 @@ SDL_Surface *IMG_LoadPNG_RW(SDL_RWops *src) {
283284

284285
int objects_read = SDL_RWread(src, raw_image_buffer, 1, src_length); // ec
285286

286-
printf("objects_read=%i\n", objects_read);
287+
//printf("objects_read=%i\n", objects_read);
287288

288289
if (lib.png_image_begin_read_from_memory(&image, raw_image_buffer, src_length)) {
289290
/* If the image is natively encoded with a colormap, set the format to

0 commit comments

Comments
 (0)