diff options
Diffstat (limited to 'src/crepe/manager/LoopTimerManager.cpp')
-rw-r--r-- | src/crepe/manager/LoopTimerManager.cpp | 2 |
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; |