Force glEnable(GL_DEPTH_TEST) for scenery rendering.
This commit is contained in:
parent
1ad9f1b59e
commit
927aa90378
1 changed files with 1 additions and 0 deletions
|
@ -578,6 +578,7 @@ void fgRenderFrame( void ) {
|
|||
thesky->preDraw();
|
||||
|
||||
// draw the ssg scene
|
||||
glEnable( GL_DEPTH_TEST );
|
||||
ssgCullAndDraw( scene );
|
||||
|
||||
// draw the sky cloud layers
|
||||
|
|
Loading…
Add table
Reference in a new issue