]> git.mxchange.org Git - flightgear.git/blobdiff - src/Model/panelnode.cxx
I have added Aaron Wilson's virtual 3d runway projection to the HUD.
[flightgear.git] / 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();
 }