1
0
Fork 0

Kill off fgRequestRedraw

This commit is contained in:
James Turner 2010-09-29 22:03:57 +01:00
parent 84b45683fc
commit af4e47179e
4 changed files with 0 additions and 9 deletions

View file

@ -69,8 +69,6 @@ void fgWarpMouse(int x, int y);
int fgGetKeyModifiers();
void fgRequestRedraw();
//
// Callbacks and registration API
//

View 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()
{
}

View 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, "" );
}

View 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();
}