diff options
author | Stijn Buys <ingar@osirion.org> | 2010-11-30 20:18:03 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-11-30 20:18:03 +0000 |
commit | 12d900b0d943de13950d14a9b0b9ce7fdc7d298f (patch) | |
tree | 55192d393eb055997625de99b7bca83ddfb94a0d /src | |
parent | 360e51a9e672e301e2147eb06100f7e68dd74654 (diff) |
Correct an OpenGL state change.
Diffstat (limited to 'src')
-rwxr-xr-x | src/ui/modelview.cc | 2 |
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 |