Keep renderer in sync with simulation when running too slowly for the sim to keep up
This was SVN commit r2895.
This commit is contained in:
parent
f2ccab089c
commit
1b59f4c56e
@ -74,6 +74,7 @@ void CSimulation::Update(double frameTime)
|
||||
{
|
||||
// The desired sim frame rate can't be achieved. Settle for process & render
|
||||
// frames as fast as possible.
|
||||
frameTime -= m_DeltaTime; // so the animation stays in sync with the sim
|
||||
m_DeltaTime = 0.0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user