mirror of
https://github.com/yawut/SDL.git
synced 2026-04-13 04:15:54 -05: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
|
||
|---|---|---|
| .. | ||
| SDL_blendfillrect.c | ||
| SDL_blendfillrect.h | ||
| SDL_blendline.c | ||
| SDL_blendline.h | ||
| SDL_blendpoint.c | ||
| SDL_blendpoint.h | ||
| SDL_draw.h | ||
| SDL_drawline.c | ||
| SDL_drawline.h | ||
| SDL_drawpoint.c | ||
| SDL_drawpoint.h | ||
| SDL_render_sw_c.h | ||
| SDL_render_sw.c | ||
| SDL_rotate.c | ||
| SDL_rotate.h | ||