From aae935bfa77f5bb9c4d2e245ac4fac3c7f4beeb7 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Tue, 10 Dec 2024 09:57:12 +0100 Subject: changed infinity to 0 --- src/crepe/manager/LoopTimerManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crepe/manager') 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; -- cgit v1.2.3