SDL/src/dynapi
Jørgen P. Tjernø 4d68f8c53e Render: Allow empty cliprect.
This fixes an issue where an empty cliprect is treated the same as a NULL
cliprect, causing the render backends to disable clipping.

Also adds a new API, SDL_RenderIsClipEnabled(render) that allows you to
differentiate between:
 - SDL_RenderSetClipRect(render, NULL)
 - SDL_Rect r = {0,0,0,0}; SDL_RenderSetClipRect(render, &r);

Fixes https://bugzilla.libsdl.org/show_bug.cgi?id=2504
2014-04-19 13:15:41 -07:00
..
gendynapi.pl Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_dynapi_overrides.h Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
SDL_dynapi_procs.h Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
SDL_dynapi.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_dynapi.h Don't overwrite SDL_dynapi.h in checker-buildbot.sh. 2014-03-19 16:02:25 -04:00