Skip to content

Commit

Permalink
Added TGA image support on iPhone
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 10, 2011
1 parent 91c59e9 commit 833f492
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IMG_UIImage.m
Expand Up @@ -429,6 +429,10 @@ int IMG_isTIF(SDL_RWops* src)
{
return LoadImageFromRWops(src, kUTTypePNG);
}
SDL_Surface* IMG_LoadTGA_RW(SDL_RWops *src)
{
return LoadImageFromRWops(src, CFSTR("com.truevision.tga-image"));
}
SDL_Surface* IMG_LoadTIF_RW(SDL_RWops *src)
{
return LoadImageFromRWops(src, kUTTypeTIFF);
Expand Down

0 comments on commit 833f492

Please sign in to comment.