Trivial cleanup commit, to test continuous integration server.
This commit is contained in:
parent
fec7cb977c
commit
3f26d2b14b
2 changed files with 1 additions and 10 deletions
|
@ -836,18 +836,11 @@ bool fgMainInit( int argc, char **argv ) {
|
||||||
fgRegisterIdleHandler( &fgIdleFunction );
|
fgRegisterIdleHandler( &fgIdleFunction );
|
||||||
fgRegisterDrawHandler( &FGRenderer::update );
|
fgRegisterDrawHandler( &FGRenderer::update );
|
||||||
|
|
||||||
#ifdef FG_ENABLE_MULTIPASS_CLOUDS
|
|
||||||
bool get_stencil_buffer = true;
|
|
||||||
#else
|
|
||||||
bool get_stencil_buffer = false;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Initialize plib net interface
|
// Initialize plib net interface
|
||||||
netInit( &argc, argv );
|
netInit( &argc, argv );
|
||||||
|
|
||||||
// Clouds3D requires an alpha channel
|
// Clouds3D requires an alpha channel
|
||||||
// clouds may require stencil buffer
|
fgOSOpenWindow(true /* request stencil buffer */);
|
||||||
fgOSOpenWindow(get_stencil_buffer);
|
|
||||||
|
|
||||||
// Initialize the splash screen right away
|
// Initialize the splash screen right away
|
||||||
fntInit();
|
fntInit();
|
||||||
|
|
|
@ -33,8 +33,6 @@ namespace flightgear
|
||||||
class FGEventHandler;
|
class FGEventHandler;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define FG_ENABLE_MULTIPASS_CLOUDS 1
|
|
||||||
|
|
||||||
class SGSky;
|
class SGSky;
|
||||||
extern SGSky *thesky;
|
extern SGSky *thesky;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue