Function fermium::surface::SDL_LoadBMP_RW
source · pub unsafe extern "C" fn SDL_LoadBMP_RW(
src: *mut SDL_RWops,
freesrc: c_int
) -> *mut SDL_Surface
Expand description
Load a surface from a seekable SDL data stream (memory or file).
If freesrc
is non-zero, the stream will be closed after being read.
The new surface should be freed with SDL_FreeSurface
.
Return: the new surface, or NULL if there was an error.