|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
SDL_Surface *IMG_LoadTGA_RW(SDL_RWops *src)
Load src as a TGA image for use as a surface, if TGA support is compiled into the SDL_image library. If you try to load a non TGA image, you might succeed even when it's not TGA image formatted data, this is because the TGA has no magic, which is a way of identifying a filetype from a signature in it's contents. So be careful with this.
Returns: a pointer to the image as a new
SDL_Surface. NULL is returned on errors, like if TGA is not supported, or a read error.