aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hud.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hud.c b/hud.c
index 38e9532..a821305 100644
--- a/hud.c
+++ b/hud.c
@@ -22,10 +22,10 @@ const int hud_offset_y = 4;
void hud_clip(Renderer* r) {
Rect clip;
- clip.x = hud_offset_x;
- clip.y = hud_offset_y;
- clip.w = background_rect.w;
- clip.h = background_rect.h;
+ clip.x = hud_offset_x - 1;
+ clip.y = hud_offset_y - 1;
+ clip.w = background_rect.w + 2;
+ clip.h = background_rect.h + 2;
ren_clip(r, &clip);
}