GL_CULL_FACE tweak.
This commit is contained in:
parent
5872f0fd68
commit
131dfd6856
1 changed files with 2 additions and 0 deletions
|
@ -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. :-)
|
||||
|
|
Loading…
Add table
Reference in a new issue