Fixed some subtle sync issues

This commit is contained in:
Chris Danford
2003-02-10 22:08:10 +00:00
parent d80d8a3c70
commit d7b2f341da
5 changed files with 29 additions and 7 deletions
+7
View File
@@ -421,6 +421,13 @@ void RageDisplay::Flip()
}
}
float RageDisplay::PredictedSecondsUntilNextFlip() const
{
float fps = max( 30.f, GetFPS() );
return 1.f/fps;
}
void RageDisplay::ResetStats()
{
g_iFPS = g_iVPF = 0;