Core/ApplicationBase: Fix elapsedTime in updaters for non-fixed intervals
This commit is contained in:
@@ -78,6 +78,7 @@ namespace Nz
|
||||
else
|
||||
updaterEntry.nextUpdate = updaterEntry.lastUpdate + (-interval);
|
||||
|
||||
updaterEntry.lastUpdate = m_currentTime;
|
||||
updaterEntry.nextUpdate = std::max(updaterEntry.nextUpdate, m_currentTime);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user