Skip to main content

SDL_GetRenderWindow

Function SDL_GetRenderWindow 

Source
pub unsafe extern "C" fn SDL_GetRenderWindow(
    renderer: *mut SDL_Renderer,
) -> *mut SDL_Window
Expand description

Get the window associated with a renderer.

Parameter: renderer the renderer to query. Returns: the window on success or NULL on failure; call SDL_GetError() for more information.

Thread Safety: It is safe to call this function from any thread.

Available Since: This function is available since SDL 3.2.0.