[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SDL_Surface *IMG_Load_RW(SDL_RWops *src, int freesrc)
Load src for use as a surface. This can load all supported image formats, except TGA.
Using SDL_RWops
is not covered here, but they enable you to load from almost any source.
Returns: a pointer to the image as a new SDL_Surface
. NULL is returned on errors.
|
See Also:
3.1.1 IMG_Load,
3.1.3 IMG_LoadTyped_RW