Function sdl2_sys::SDL_HasSurfaceRLE
source ยท pub unsafe extern "C" fn SDL_HasSurfaceRLE(
surface: *mut SDL_Surface,
) -> SDL_bool
Expand description
Returns whether the surface is RLE enabled
It is safe to pass a NULL surface
here; it will return SDL_FALSE.
\param surface the SDL_Surface structure to query \returns SDL_TRUE if the surface is RLE enabled, SDL_FALSE otherwise.
\since This function is available since SDL 2.0.14.
\sa SDL_SetSurfaceRLE