Use clipping functions provided by SDL (#1426)

This commit is contained in:
Guldoman
2023-08-19 12:38:35 +08:00
committed by takase1121
parent 1d0725f904
commit a61531dbf0
3 changed files with 18 additions and 20 deletions
-1
View File
@@ -3,7 +3,6 @@
struct RenWindow {
SDL_Window *window;
RenRect clip; /* Clipping rect in pixel coordinates. */
#ifdef LITE_USE_SDL_RENDERER
SDL_Renderer *renderer;
SDL_Texture *texture;