aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui_menu.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-05-18 08:17:59 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-05-18 08:17:59 -0400
commit72941038ae15ed524e2a878d087d98bc97e946b4 (patch)
treec5609ec3994c5d993d1589696cd886a9592708dc /src/ui_menu.cpp
parentd27a975710cf7ef02f755ef768f133e19df69fa5 (diff)
parente1def1b4167156da12fa30baac3b3ccc2d00d74c (diff)
Z INDEXING
Diffstat (limited to 'src/ui_menu.cpp')
-rw-r--r--src/ui_menu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui_menu.cpp b/src/ui_menu.cpp
index 25782be..5faf8a2 100644
--- a/src/ui_menu.cpp
+++ b/src/ui_menu.cpp
@@ -154,7 +154,8 @@ namespace ui {
glUseProgram(textShader);
glBindTexture(GL_TEXTURE_2D, backTex);
- drawRect(vec2(offset.x - SCREEN_WIDTH / 2, offset.y - (SCREEN_HEIGHT / 2)), vec2(offset.x + SCREEN_WIDTH / 2, offset.y + (SCREEN_HEIGHT / 2)), -8.5);
+ drawRect(vec2(offset.x - SCREEN_WIDTH / 2 - 1, offset.y - (SCREEN_HEIGHT / 2)),
+ vec2(offset.x + SCREEN_WIDTH / 2, offset.y + (SCREEN_HEIGHT / 2)), -8.5);
glUseProgram(0);