mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 07:34:02 +02:00
Merge pull request #8754 from howard-stearns/init-script-update-time
init the accumulator for script elapsed time
This commit is contained in:
commit
a170436c8c
1 changed files with 1 additions and 1 deletions
|
@ -849,7 +849,7 @@ void ScriptEngine::run() {
|
|||
|
||||
_lastUpdate = usecTimestampNow();
|
||||
|
||||
std::chrono::microseconds totalUpdates;
|
||||
std::chrono::microseconds totalUpdates(0);
|
||||
|
||||
// TODO: Integrate this with signals/slots instead of reimplementing throttling for ScriptEngine
|
||||
while (!_isFinished) {
|
||||
|
|
Loading…
Reference in a new issue