aboutsummaryrefslogtreecommitdiff
path: root/src/crepe
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe')
-rw-r--r--src/crepe/manager/LoopTimerManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/manager/LoopTimerManager.cpp b/src/crepe/manager/LoopTimerManager.cpp
index 1d864ad..366d48a 100644
--- a/src/crepe/manager/LoopTimerManager.cpp
+++ b/src/crepe/manager/LoopTimerManager.cpp
@@ -34,7 +34,7 @@ void LoopTimerManager::update() {
if (this->delta_time.count() > 0.0) {
this->actual_fps = 1.0 / this->delta_time.count();
} else {
- this->actual_fps = INFINITY;
+ this->actual_fps = 0;
}
this->elapsed_time += this->delta_time;