From 12d900b0d943de13950d14a9b0b9ce7fdc7d298f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 30 Nov 2010 20:18:03 +0000 Subject: Correct an OpenGL state change. --- src/ui/modelview.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3