]> git.mxchange.org Git - flightgear.git/commitdiff
GL_CULL_FACE tweak.
authorcurt <curt>
Tue, 15 Jun 1999 19:55:55 +0000 (19:55 +0000)
committercurt <curt>
Tue, 15 Jun 1999 19:55:55 +0000 (19:55 +0000)
Simulator/Main/GLUTmain.cxx

index 9822d4db432cc0c3948f24fe575d7181ae707c2f..8fb1805f7ed8b620ecd7caf012cf3f8d6fe62197 100644 (file)
@@ -321,6 +321,7 @@ static void fgRenderFrame( void ) {
 
        // draw stars and planets
        fgStarsRender();
+       xglEnable( GL_CULL_FACE ); // for moon
        //xglEnable(GL_DEPTH_TEST);
        SolarSystem::theSolarSystem->draw();
 
@@ -366,6 +367,7 @@ static void fgRenderFrame( void ) {
        xglDisable( GL_FOG );
 
        // display HUD && Panel
+       xglDisable( GL_CULL_FACE );
        fgCockpitUpdate();
 
        // We can do translucent menus, so why not. :-)