diff options
author | quou <quou@disroot.org> | 2024-10-04 00:09:12 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-10-04 00:09:12 +1000 |
commit | 88b9072f505eedfa7deb9452e8cd6883b9672cf4 (patch) | |
tree | 53213910b0ecae5b402b1365c6844ad2c3a1765f | |
parent | 7e74f4402ead8422c151e93190c5c259ddbaecb9 (diff) |
Increase the size of the area that the HUD draws to
-rw-r--r-- | hud.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); } |