diff options
Diffstat (limited to 'src/ui/paint.c')
-rw-r--r-- | src/ui/paint.c | 2 |
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 | ||
21 | void clearClip_Paint(iPaint *d) { | 21 | void 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 | } |