[−][src]Function sdl2_sys::SDL_LoadBMP_RW
pub unsafe extern "C" fn SDL_LoadBMP_RW(
src: *mut SDL_RWops,
freesrc: c_int
) -> *mut SDL_Surface
Load a surface from a seekable SDL data stream (memory or file).
If \c 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.