[−][src]Function sdl2_sys::SDL_SetSurfaceRLE
pub unsafe extern "C" fn SDL_SetSurfaceRLE(
surface: *mut SDL_Surface,
flag: c_int
) -> c_int
\brief Sets the RLE acceleration hint for a surface.
\return 0 on success, or -1 if the surface is not valid
\note If RLE is enabled, colorkey and alpha blending blits are much faster, but the surface must be locked before directly accessing the pixels.