IMG_tga.c
changeset 451 48116d511e5d
parent 389 1ff9cd8cf18b
child 471 c5078fe7c32c
equal deleted inserted replaced
450:175c0200df0a 451:48116d511e5d
   321 error:
   321 error:
   322     SDL_RWseek(src, start, RW_SEEK_SET);
   322     SDL_RWseek(src, start, RW_SEEK_SET);
   323     if ( img ) {
   323     if ( img ) {
   324         SDL_FreeSurface(img);
   324         SDL_FreeSurface(img);
   325     }
   325     }
   326     IMG_SetError(error);
   326     IMG_SetError("%s", error);
   327     return NULL;
   327     return NULL;
   328 }
   328 }
   329 
   329 
   330 #else
   330 #else
   331 
   331