From: david Date: Mon, 1 Sep 2003 22:03:46 +0000 (+0000) Subject: Roll out last change for now. It kills the mag compass on the default X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fccea06ed3fc9d958df7883bdccff780beba993e;p=flightgear.git 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. --- 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(); }