From 927aa903780bb7bc4d24ca8811f40821e84ad7b5 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 22 Aug 2000 04:45:31 +0000 Subject: [PATCH] Force glEnable(GL_DEPTH_TEST) for scenery rendering. --- src/Main/main.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 4cd07e5a6..f49f3373e 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -578,6 +578,7 @@ void fgRenderFrame( void ) { thesky->preDraw(); // draw the ssg scene + glEnable( GL_DEPTH_TEST ); ssgCullAndDraw( scene ); // draw the sky cloud layers -- 2.39.5