Function sdl2_sys::SDL_RenderGetWindow

source ยท
pub unsafe extern "C" fn SDL_RenderGetWindow(
    renderer: *mut SDL_Renderer,
) -> *mut SDL_Window
Expand description

Get the window associated with a renderer.

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

\since This function is available since SDL 2.0.22.