aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/crepe/manager/LoopTimerManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/manager/LoopTimerManager.h b/src/crepe/manager/LoopTimerManager.h
index 0eda156..91403e4 100644
--- a/src/crepe/manager/LoopTimerManager.h
+++ b/src/crepe/manager/LoopTimerManager.h
@@ -149,9 +149,9 @@ private:
private:
//! Target frames per second.
- int target_fps = 60;
+ unsigned target_fps = 60;
//! Actual frames per second.
- int actual_fps = 0;
+ unsigned actual_fps = 0;
//! Time scale for speeding up or slowing down the game (0 = pause, < 1 = slow down, 1 = normal speed, > 1 = speed up).
float time_scale = 1;
//! Maximum delta time in seconds to avoid large jumps.