summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/src/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/src/loop.c b/src/core/src/loop.c
index 13a2856..85e8cf6 100644
--- a/src/core/src/loop.c
+++ b/src/core/src/loop.c
@@ -376,7 +376,7 @@ i32 engine_run(Platform* p, StateType initial_state, void* state_arg) {
const u64 rendertime_dt = get_time() - rendertime_begin;
/* Regulate FPS */
- u64 frame_end = get_time();
+ frame_end = get_time();
const u64 fps_diff = fps_cap - (frame_end - frame_start);
if (fps_diff > 0) {