Get the window associated with a renderer.
SDL_Window * SDL_RenderGetWindow(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 2.0.22.