aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-07 10:26:41 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-07 10:26:41 +0100
commitc817f6ff091de9869c803868c50a9ea884ead376 (patch)
tree16f8f50c4b3b9b7fa6822850f5dd0f93495b9632
parenta7874bd098eb263ac8688a76aa2e1b896ab6d455 (diff)
more revert
-rw-r--r--src/crepe/api/Engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/Engine.cpp b/src/crepe/api/Engine.cpp
index 798cd55..bfc1c4a 100644
--- a/src/crepe/api/Engine.cpp
+++ b/src/crepe/api/Engine.cpp
@@ -50,7 +50,7 @@ void Engine::loop() {
while (timer.get_lag() >= timer.get_fixed_delta_time()) {
try {
systems.fixed_update();
- this->loop_timer.advance_fixed_elapsed_time();
+ timer.advance_fixed_elapsed_time();
} catch (const exception & e) {
Log::logf(
Log::Level::WARNING, "Uncaught exception in fixed update function: {}",
@@ -61,7 +61,7 @@ void Engine::loop() {
try {
systems.frame_update();
- this->loop_timer.enforce_frame_rate();
+ timer.enforce_frame_rate();
} catch (const exception & e) {
Log::logf(
Log::Level::WARNING, "Uncaught exception in frame update function: {}",