IMG_png.c
changeset 451 48116d511e5d
parent 431 be8d5de840cc
child 461 43873c313f32
equal deleted inserted replaced
450:175c0200df0a 451:48116d511e5d
   552         SDL_RWseek(src, start, RW_SEEK_SET);
   552         SDL_RWseek(src, start, RW_SEEK_SET);
   553         if ( surface ) {
   553         if ( surface ) {
   554             SDL_FreeSurface(surface);
   554             SDL_FreeSurface(surface);
   555             surface = NULL;
   555             surface = NULL;
   556         }
   556         }
   557         IMG_SetError(error);
   557         IMG_SetError("%s", error);
   558     }
   558     }
   559     return(surface);
   559     return(surface);
   560 }
   560 }
   561 
   561 
   562 #else
   562 #else