]> git.mxchange.org Git - flightgear.git/commitdiff
Roll out last change for now. It kills the mag compass on the default
authordavid <david>
Mon, 1 Sep 2003 22:03:46 +0000 (22:03 +0000)
committerdavid <david>
Mon, 1 Sep 2003 22:03:46 +0000 (22:03 +0000)
172, and seems to have unpredictable results depending on the drawing
order.

src/Model/panelnode.cxx

index eedfed76889175ac644773ea8dfe282836bfe314..55973b0035ec670cc3220f4a8c5649522abb9173 100644 (file)
@@ -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();
 }