aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Engine.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-12 22:45:30 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-12 22:45:30 +0100
commit1d1c256eea43a3d0685919ed2997e10990ef639f (patch)
tree99f85ea9d8852ba3e33a05df699f028f29d3f9d1 /src/crepe/api/Engine.cpp
parent23196be83778973d9688cc5d465e4e4a16476568 (diff)
`make format`
Diffstat (limited to 'src/crepe/api/Engine.cpp')
-rw-r--r--src/crepe/api/Engine.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/crepe/api/Engine.cpp b/src/crepe/api/Engine.cpp
index e8b7fd6..bbb4494 100644
--- a/src/crepe/api/Engine.cpp
+++ b/src/crepe/api/Engine.cpp
@@ -46,7 +46,8 @@ void Engine::loop() {
try {
systems.fixed_update();
} catch (const exception & e) {
- Log::logf(Log::Level::WARNING, "Uncaught exception in fixed update function: {}\n", e.what());
+ Log::logf(Log::Level::WARNING,
+ "Uncaught exception in fixed update function: {}\n", e.what());
}
timer.advance_fixed_elapsed_time();
}
@@ -54,9 +55,9 @@ void Engine::loop() {
try {
systems.frame_update();
} catch (const exception & e) {
- Log::logf(Log::Level::WARNING, "Uncaught exception in frame update function: {}\n", e.what());
+ Log::logf(Log::Level::WARNING, "Uncaught exception in frame update function: {}\n",
+ e.what());
}
timer.enforce_frame_rate();
}
}
-