From 131dfd6856de163a65b85f5e172131ebf29e1242 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 15 Jun 1999 19:55:55 +0000 Subject: [PATCH] GL_CULL_FACE tweak. --- Simulator/Main/GLUTmain.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Simulator/Main/GLUTmain.cxx b/Simulator/Main/GLUTmain.cxx index 9822d4db4..8fb1805f7 100644 --- a/Simulator/Main/GLUTmain.cxx +++ b/Simulator/Main/GLUTmain.cxx @@ -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. :-) -- 2.39.5