diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2016-05-18 08:17:59 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2016-05-18 08:17:59 -0400 |
commit | 72941038ae15ed524e2a878d087d98bc97e946b4 (patch) | |
tree | c5609ec3994c5d993d1589696cd886a9592708dc /src/ui_menu.cpp | |
parent | d27a975710cf7ef02f755ef768f133e19df69fa5 (diff) | |
parent | e1def1b4167156da12fa30baac3b3ccc2d00d74c (diff) |
Z INDEXING
Diffstat (limited to 'src/ui_menu.cpp')
-rw-r--r-- | src/ui_menu.cpp | 3 |
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); |