mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Amend comment that was not a busy wait
This commit is contained in:
parent
173d2a590c
commit
7db082b915
1 changed files with 1 additions and 1 deletions
|
@ -725,7 +725,7 @@ void ScriptEngine::run() {
|
|||
|
||||
qint64 lastUpdate = usecTimestampNow();
|
||||
|
||||
// TODO: Integrate this with signals/slots instead of this busy wait
|
||||
// TODO: Integrate this with signals/slots instead of reimplementing throttling for ScriptEngine
|
||||
while (!_isFinished) {
|
||||
// Throttle to SCRIPT_FPS
|
||||
const std::chrono::microseconds FRAME_DURATION(USECS_PER_SECOND / SCRIPT_FPS + 1);
|
||||
|
|
Loading…
Reference in a new issue