aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/LoopManager.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-24 16:38:58 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-24 16:38:58 +0100
commit020cdfddcd06e162515deee4941ce91f3a945ee6 (patch)
tree0c63057c6ba464d88260bfa0c1a71601ad1a03ff /src/crepe/api/LoopManager.cpp
parenta1a95627c8c2a77530feeee8507b5409616bc54a (diff)
fps counter functionality
Diffstat (limited to 'src/crepe/api/LoopManager.cpp')
-rw-r--r--src/crepe/api/LoopManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/LoopManager.cpp b/src/crepe/api/LoopManager.cpp
index 7edf4d1..df09f7e 100644
--- a/src/crepe/api/LoopManager.cpp
+++ b/src/crepe/api/LoopManager.cpp
@@ -57,7 +57,7 @@ void LoopManager::loop() {
void LoopManager::setup() {
this->game_running = true;
LoopTimer::get_instance().start();
- LoopTimer::get_instance().set_fps(200);
+ LoopTimer::get_instance().set_target_fps(200);
}
void LoopManager::render() {