]> git.mxchange.org Git - flightgear.git/commitdiff
Kill off fgRequestRedraw
authorJames Turner <zakalawe@mac.com>
Wed, 29 Sep 2010 21:03:57 +0000 (22:03 +0100)
committerJames Turner <zakalawe@mac.com>
Thu, 30 Sep 2010 22:13:11 +0000 (23:13 +0100)
src/Main/fg_os.hxx
src/Main/fg_os_common.cxx
src/Main/main.cxx
src/Main/splash.cxx

index ebeb0701b4ed0f686ab274d76a4fb2b0086f6e42..74d2e468bc28b09d99d6b235c1018ed890736648 100644 (file)
@@ -69,8 +69,6 @@ void fgWarpMouse(int x, int y);
 
 int  fgGetKeyModifiers();
 
-void fgRequestRedraw();
-
 //
 // Callbacks and registration API
 //
index 91041c3ccc25b6e8e20d728e56e17afc30f8cc87..1df935139b3360b7bb6378b56d7925a527295fcf 100644 (file)
@@ -64,9 +64,5 @@ void fgRegisterMouseMotionHandler(fgMouseMotionHandler func)
     globals->get_renderer()->getEventHandler()->setMouseMotionHandler(func);
 }
 
-// Redraw "happens" every frame whether you want it or not.
-void fgRequestRedraw()
-{
-}
 
 
index b9c0f194f0c164689f79fd7fa6019d02b042e7f2..03637612e1b46481f9a499ebd6fedc81ade508c1 100644 (file)
@@ -238,7 +238,6 @@ static void fgMainLoop( void ) {
               SGRawValueFunctions<const char *>(0, fgSetNewSoundDevice), false);
     }
     simgear::AtomicChangeListener::fireChangeListeners();
-    fgRequestRedraw();
 
     SG_LOG( SG_ALL, SG_DEBUG, "" );
 }
index 19b12348849d43277aaeebbb1979aa3ff6cffd34..9152fb26dcf2b2dc78bfc26009c3216c971c2462 100644 (file)
@@ -355,11 +355,9 @@ osg::Node* fgCreateSplashNode() {
 void fgSplashInit () {
   SG_LOG( SG_GENERAL, SG_INFO, "Initializing splash screen" );
   globals->get_renderer()->splashinit();
-  fgRequestRedraw();
 }
 
 void fgSplashProgress ( const char *text ) {
   SG_LOG( SG_GENERAL, SG_INFO, "Splash screen progress " << text );
   fgSetString("/sim/startup/splash-progress-text", text);
-  fgRequestRedraw();
 }