Amend comment that was not a busy wait

This commit is contained in:
Zach Pomerantz 2016-05-09 15:05:13 -07:00
parent 173d2a590c
commit 7db082b915

View file

@ -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);