]> git.mxchange.org Git - flightgear.git/commitdiff
Force glEnable(GL_DEPTH_TEST) for scenery rendering.
authorcurt <curt>
Tue, 22 Aug 2000 04:45:31 +0000 (04:45 +0000)
committercurt <curt>
Tue, 22 Aug 2000 04:45:31 +0000 (04:45 +0000)
src/Main/main.cxx

index 4cd07e5a668198831b568f3a018719271c2a1b5f..f49f3373e051e5a3919335d6b8a3b878ea1bb23d 100644 (file)
@@ -578,6 +578,7 @@ void fgRenderFrame( void ) {
        thesky->preDraw();
 
        // draw the ssg scene
+       glEnable( GL_DEPTH_TEST );
        ssgCullAndDraw( scene );
 
        // draw the sky cloud layers