From fccea06ed3fc9d958df7883bdccff780beba993e Mon Sep 17 00:00:00 2001 From: david Date: Mon, 1 Sep 2003 22:03:46 +0000 Subject: [PATCH] Roll out last change for now. It kills the mag compass on the default 172, and seems to have unpredictable results depending on the drawing order. --- src/Model/panelnode.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Model/panelnode.cxx b/src/Model/panelnode.cxx index eedfed768..55973b003 100644 --- a/src/Model/panelnode.cxx +++ b/src/Model/panelnode.cxx @@ -142,12 +142,8 @@ void FGPanelNode::draw_geometry() glGetFloatv(GL_PROJECTION_MATRIX, _lastProjection); glGetIntegerv(GL_VIEWPORT, _lastViewport); - glDepthMask( GL_FALSE ); - _panel->draw(); - glDepthMask( GL_TRUE ); - glPopMatrix(); }