From 88b9072f505eedfa7deb9452e8cd6883b9672cf4 Mon Sep 17 00:00:00 2001 From: quou Date: Fri, 4 Oct 2024 00:09:12 +1000 Subject: Increase the size of the area that the HUD draws to --- hud.c | 8 ++++---- 1 file 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); } -- cgit v1.2.3-54-g00ecf