Kill off fgRequestRedraw
This commit is contained in:
parent
84b45683fc
commit
af4e47179e
4 changed files with 0 additions and 9 deletions
|
@ -69,8 +69,6 @@ void fgWarpMouse(int x, int y);
|
|||
|
||||
int fgGetKeyModifiers();
|
||||
|
||||
void fgRequestRedraw();
|
||||
|
||||
//
|
||||
// Callbacks and registration API
|
||||
//
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -238,7 +238,6 @@ static void fgMainLoop( void ) {
|
|||
SGRawValueFunctions<const char *>(0, fgSetNewSoundDevice), false);
|
||||
}
|
||||
simgear::AtomicChangeListener::fireChangeListeners();
|
||||
fgRequestRedraw();
|
||||
|
||||
SG_LOG( SG_ALL, SG_DEBUG, "" );
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue