]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/main.cxx
Bugfix: remove the (totally broken) skyblend option
[flightgear.git] / src / Main / main.cxx
index f64e0d38a19de57af3a45638115f7ed9f06f61f1..40af6e292fb89605037f9107e61fc3c3fe366490 100644 (file)
 #include "fg_os.hxx"
 #include "fg_props.hxx"
 #include "positioninit.hxx"
+#include "screensaver_control.hxx"
 #include "subsystemFactory.hxx"
 #include "options.hxx"
 
+
 using namespace flightgear;
 
 using std::cerr;
@@ -429,6 +431,9 @@ int fgMainInit( int argc, char **argv ) {
     
     fgOutputSettings();
     
+    //try to disable the screensaver
+    fgOSDisableScreensaver();
+    
     // pass control off to the master event handler
     int result = fgOSMainLoop();
     frame_signal.clear();