Function sdl2_sys::SDL_GetRenderer

source ·
pub unsafe extern "C" fn SDL_GetRenderer(
    window: *mut SDL_Window
) -> *mut SDL_Renderer
Expand description

Get the renderer associated with a window.

\param window the window to query \returns the rendering context on success or NULL on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.0.

\sa SDL_CreateRenderer