1
0
Fork 0

GL_CULL_FACE tweak.

This commit is contained in:
curt 1999-06-15 19:55:55 +00:00
parent 5872f0fd68
commit 131dfd6856

View 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. :-)