Get the clip rectangle for the current target.
Defined in SDL_render.h
void SDL_RenderGetClipRect(SDL_Renderer * renderer,
SDL_Rect * rect);
SDL_Renderer * | renderer | the rendering context from which clip rectangle should be queried. |
SDL_Rect * | rect | an SDL_Rect structure filled in with the current clipping area or an empty rectangle if clipping is disabled. |
This function is available since SDL 2.0.0.