mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 17:41:12 +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();
|
_lastUpdate = usecTimestampNow();
|
||||||
|
|
||||||
std::chrono::microseconds totalUpdates;
|
std::chrono::microseconds totalUpdates(0);
|
||||||
|
|
||||||
// TODO: Integrate this with signals/slots instead of reimplementing throttling for ScriptEngine
|
// TODO: Integrate this with signals/slots instead of reimplementing throttling for ScriptEngine
|
||||||
while (!_isFinished) {
|
while (!_isFinished) {
|
||||||
|
|
Loading…
Reference in a new issue