diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-03 19:39:23 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-03 19:39:23 +0100 |
commit | 4f687de3530fac052f30dac7b8c59dae103bcf81 (patch) | |
tree | af02b332b6a6efced3357834cc2f30fbfe7b223b /src/crepe/api/Engine.cpp | |
parent | d65e0ff31a75230fd1c18eaeab9cb25ab2b9c82a (diff) | |
parent | 61148c757a1f742ff09e40e5347e74e638c7371c (diff) |
merge
Diffstat (limited to 'src/crepe/api/Engine.cpp')
-rw-r--r-- | src/crepe/api/Engine.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/crepe/api/Engine.cpp b/src/crepe/api/Engine.cpp index 4add4e1..0bbe51f 100644 --- a/src/crepe/api/Engine.cpp +++ b/src/crepe/api/Engine.cpp @@ -46,8 +46,10 @@ 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(); } @@ -56,8 +58,10 @@ void Engine::loop() { systems.frame_update(); this->scene_manager.load_next_scene(); } 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(); } |