[−][src]Function sdl2_sys::SDL_CreateSoftwareRenderer
pub unsafe extern "C" fn SDL_CreateSoftwareRenderer(
surface: *mut SDL_Surface
) -> *mut SDL_Renderer
\brief Create a 2D software rendering context for a surface.
\param surface The surface where rendering is done.
\return A valid rendering context or NULL if there was an error.
\sa SDL_CreateRenderer() \sa SDL_DestroyRenderer()