summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author0scar <qgt268@alumni.ku.dk>2024-02-06 13:56:14 +0000
committer0scar <qgt268@alumni.ku.dk>2024-02-06 13:56:14 +0000
commit780dd432280277286730548185bb02102467079b (patch)
treec8cb83272a3efbb03a5c9b0f0ce774dc3b3e418d /src
parentec1dc30e4c5c21ad45692223a2ae5ce5e5b536ff (diff)
Remove unused variables
Diffstat (limited to 'src')
-rw-r--r--src/core/src/loop.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/src/loop.c b/src/core/src/loop.c
index a176394..b78ba21 100644
--- a/src/core/src/loop.c
+++ b/src/core/src/loop.c
@@ -389,9 +389,6 @@ i32 engine_run(Platform* p, StateType initial_state) {
// Update ticks
u64 ticks = 0;
- /* Profiling values */
- const f64 frame_interval = 1000.0 / FPS_CAP;
-
StateType (*update_func)(void*) = State_updateFunc(state);
f64 last_fps_measurement = get_time();
@@ -601,7 +598,7 @@ void engine_stop(Platform* p) {
}
/* Set the maximum framerate */
-void engine_fps_max(u64 cap) { FPS_CAP = cap; }
+void engine_fps_max(u64 cap) { /* does nothing */ }
/* Pushes an input context onto the input handling stack */
void engine_input_ctx_push(i_ctx* ctx) {