Load a BMP image from a seekable SDL data stream.
The new surface should be freed with SDL_DestroySurface(). Not doing so will result in a memory leak.
the data stream for the surface.
if true, calls SDL_CloseIO() on src before returning, even in the case of an error.
a pointer to a new SDL_Surface structure or NULL on failure; call SDL_GetError() for more information.
SDL_DestroySurface SDL_LoadBMP SDL_SaveBMP_IO
See Implementation
Load a BMP image from a seekable SDL data stream.
The new surface should be freed with SDL_DestroySurface(). Not doing so will result in a memory leak.