mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-11-26 07:06:16 +00:00
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
|
||
|---|---|---|
| .. | ||
| direct3d | ||
| direct3d11 | ||
| opengl | ||
| opengles | ||
| opengles2 | ||
| psp | ||
| software | ||
| mmx.h | ||
| SDL_d3dmath.c | ||
| SDL_d3dmath.h | ||
| SDL_render.c | ||
| SDL_sysrender.h | ||
| SDL_yuv_mmx.c | ||
| SDL_yuv_sw.c | ||
| SDL_yuv_sw_c.h | ||