Get the clip rectangle for the current target.
Defined in SDL_render.h
renderer | the rendering context from which clip rectangle should be queried |
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.