Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-11-30 20:18:03 +0000
committerStijn Buys <ingar@osirion.org>2010-11-30 20:18:03 +0000
commit12d900b0d943de13950d14a9b0b9ce7fdc7d298f (patch)
tree55192d393eb055997625de99b7bca83ddfb94a0d /src/ui/modelview.cc
parent360e51a9e672e301e2147eb06100f7e68dd74654 (diff)
Correct an OpenGL state change.
Diffstat (limited to 'src/ui/modelview.cc')
-rwxr-xr-xsrc/ui/modelview.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/modelview.cc b/src/ui/modelview.cc
index 8d8adfc..6d4e0e4 100755
--- a/src/ui/modelview.cc
+++ b/src/ui/modelview.cc
@@ -231,7 +231,7 @@ void ModelView::draw()
gl::disable(GL_TEXTURE_2D);
gl::disable(GL_COLOR_MATERIAL); // disable color tracking
gl::disable(GL_CULL_FACE); // disable culling
- gl::depthmask(GL_TRUE); // enable depth buffer writing
+ gl::depthmask(GL_FALSE); // enable depth buffer writing
gl::disable(GL_DEPTH_TEST); // disable depth buffer testing
// gl 2d mode