aboutsummaryrefslogtreecommitdiff
path: root/mwe/events/src/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mwe/events/src/timer.cpp')
-rw-r--r--mwe/events/src/timer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/mwe/events/src/timer.cpp b/mwe/events/src/timer.cpp
index f4fee23..0b89bf5 100644
--- a/mwe/events/src/timer.cpp
+++ b/mwe/events/src/timer.cpp
@@ -16,8 +16,7 @@ void LoopTimer::start() {
// Update the timer, calculate deltaTime
void LoopTimer::update() {
uint64_t currentFrameTime = SDL_GetTicks64();
- deltaTime
- = (currentFrameTime - lastFrameTime) / 1000.0;
+ deltaTime = (currentFrameTime - lastFrameTime) / 1000.0;
if (deltaTime > maximumDeltaTime) {
deltaTime = maximumDeltaTime;