small rework of timer class

This commit is contained in:
h4570
2020-12-03 20:04:35 +01:00
parent 72266d0c25
commit f45f5c39c7
3 changed files with 9 additions and 20 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ void Engine::gameLoop()
fps = timer.getFPS();
fpsDelayer = 0;
}
timer.primeTimer();
timer.prime();
renderer->endFrame(fps);
/** -6~ FPS */
SetAlarm(150, &Engine::wakeup, &mainThreadId);