sdl2_frt/src/render
J?rgen P. Tjern? defd90b6f6 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
..
direct3d Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
direct3d11 Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
opengl Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
opengles Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
opengles2 Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
psp Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
software Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
mmx.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_d3dmath.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_d3dmath.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_render.c Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
SDL_sysrender.h Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
SDL_yuv_mmx.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_yuv_sw_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_yuv_sw.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00