summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoronelin <oscar@nelin.dk>2025-03-16 00:25:44 +0000
committeronelin <oscar@nelin.dk>2025-03-16 00:25:44 +0000
commit0413f91b2185e273a3f05234e1789670424f5dc4 (patch)
treed6360efd0a352b8c9bf56088157700284b20dd54 /src
parent86a4b27e78abcccd98dd933c78af17fab838467b (diff)
Fix dummy mistake
Diffstat (limited to 'src')
-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) {