From 3f26d2b14babd414a4d76b286e0d8fa8899a013d Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 1 Jul 2010 19:51:05 +0100 Subject: [PATCH] Trivial cleanup commit, to test continuous integration server. --- src/Main/main.cxx | 9 +-------- src/Main/renderer.hxx | 2 -- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 01d205aa4..c02006a01 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -836,18 +836,11 @@ bool fgMainInit( int argc, char **argv ) { fgRegisterIdleHandler( &fgIdleFunction ); fgRegisterDrawHandler( &FGRenderer::update ); -#ifdef FG_ENABLE_MULTIPASS_CLOUDS - bool get_stencil_buffer = true; -#else - bool get_stencil_buffer = false; -#endif - // Initialize plib net interface netInit( &argc, argv ); // Clouds3D requires an alpha channel - // clouds may require stencil buffer - fgOSOpenWindow(get_stencil_buffer); + fgOSOpenWindow(true /* request stencil buffer */); // Initialize the splash screen right away fntInit(); diff --git a/src/Main/renderer.hxx b/src/Main/renderer.hxx index 4393e67e7..41e4daa2b 100644 --- a/src/Main/renderer.hxx +++ b/src/Main/renderer.hxx @@ -33,8 +33,6 @@ namespace flightgear class FGEventHandler; } -#define FG_ENABLE_MULTIPASS_CLOUDS 1 - class SGSky; extern SGSky *thesky; -- 2.39.5