Get the window associated with a renderer.
SDL_Window* SDL_GetRenderWindow(SDL_Renderer *renderer);
renderer | the renderer to query |
Returns the window on success or NULL on failure; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.