aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/app.c b/app/src/app.c
index 10adcbd..8262378 100644
--- a/app/src/app.c
+++ b/app/src/app.c
@@ -33,8 +33,8 @@ static void loop(GfxApp* app) {
33 assert(app->window); 33 assert(app->window);
34 34
35 const time_delta min_frame_time = 35 const time_delta min_frame_time =
36 app->max_fps > 0 ? sec_to_time_delta(1.0 / (double)(app->max_fps)) : 0; 36 app->max_fps > 0 ? time_delta_from_sec(1.0 / (double)(app->max_fps)) : 0;
37 const time_delta update_dt = sec_to_time_delta(app->update_delta_time); 37 const time_delta update_dt = time_delta_from_sec(app->update_delta_time);
38 time_delta time = 0; 38 time_delta time = 0;
39 time_delta time_budget = 0; 39 time_delta time_budget = 0;
40 Timer timer = timer_make(); 40 Timer timer = timer_make();