summaryrefslogtreecommitdiff
path: root/src/ui/paint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/paint.c')
-rw-r--r--src/ui/paint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/paint.c b/src/ui/paint.c
index 0a2e6cd3..85e75f15 100644
--- a/src/ui/paint.c
+++ b/src/ui/paint.c
@@ -18,7 +18,7 @@ void setClip_Paint(iPaint *d, iRect rect) {
18 SDL_RenderSetClipRect(renderer_Paint_(d), (const SDL_Rect *) &rect); 18 SDL_RenderSetClipRect(renderer_Paint_(d), (const SDL_Rect *) &rect);
19} 19}
20 20
21void clearClip_Paint(iPaint *d) { 21void unsetClip_Paint(iPaint *d) {
22 const SDL_Rect winRect = { 0, 0, d->dst->root->rect.size.x, d->dst->root->rect.size.y }; 22 const SDL_Rect winRect = { 0, 0, d->dst->root->rect.size.x, d->dst->root->rect.size.y };
23 SDL_RenderSetClipRect(renderer_Paint_(d), &winRect); 23 SDL_RenderSetClipRect(renderer_Paint_(d), &winRect);
24} 24}