diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-04-09 18:12:32 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-13 22:40:52 +0100 |
commit | a9818f2d6a0c22ff6b03a8897b3ef84d8dd6f96b (patch) | |
tree | 0716d678a585fd8da96645fe50263cb9b8a750b2 /src/menu/application.cpp | |
parent | 67fc15279173bb357c16ef21b73a2e8dd3561b2e (diff) | |
download | usdx-a9818f2d6a0c22ff6b03a8897b3ef84d8dd6f96b.tar.gz usdx-a9818f2d6a0c22ff6b03a8897b3ef84d8dd6f96b.tar.xz usdx-a9818f2d6a0c22ff6b03a8897b3ef84d8dd6f96b.zip |
menu/application: disable opengl depth buffer (only 2d needed)
Diffstat (limited to '')
-rw-r--r-- | src/menu/application.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/menu/application.cpp b/src/menu/application.cpp index ccc983d3..00606135 100644 --- a/src/menu/application.cpp +++ b/src/menu/application.cpp @@ -154,6 +154,7 @@ namespace usdx glMatrixMode( GL_MODELVIEW ); glLoadIdentity(); + glDisable(GL_DEPTH_TEST); } if (! display) { |