aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/LoopManager.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-06 15:42:52 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-06 15:42:52 +0100
commit70c1cd14ec4c4aca185d5a7e4a3749169f6425f4 (patch)
treec38250a2fa555f789a95ffe34510d8e9ab54ad84 /src/crepe/api/LoopManager.cpp
parente882a9787919b4e804878e5458c535342a718a08 (diff)
make format
Diffstat (limited to 'src/crepe/api/LoopManager.cpp')
-rw-r--r--src/crepe/api/LoopManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/LoopManager.cpp b/src/crepe/api/LoopManager.cpp
index 2c12895..a76c167 100644
--- a/src/crepe/api/LoopManager.cpp
+++ b/src/crepe/api/LoopManager.cpp
@@ -48,13 +48,13 @@ void LoopManager::loop() {
while (game_running) {
timer.update();
-
+
while (timer.get_lag() >= timer.get_fixed_delta_time()) {
this->process_input();
this->fixed_update();
timer.advance_fixed_update();
}
-
+
this->update();
this->render();