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