aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_loop.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-30 14:52:21 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-30 14:52:21 +0200
commitea86510df216646246f21266023c7cc3943b80f3 (patch)
tree6144b21b6d5c0118b872c8e339be1c2870e21714 /src/ft_key_loop.c
parentBug fix (diff)
download42-cub3d-ea86510df216646246f21266023c7cc3943b80f3.tar.gz
42-cub3d-ea86510df216646246f21266023c7cc3943b80f3.tar.bz2
42-cub3d-ea86510df216646246f21266023c7cc3943b80f3.tar.xz
42-cub3d-ea86510df216646246f21266023c7cc3943b80f3.tar.zst
42-cub3d-ea86510df216646246f21266023c7cc3943b80f3.zip
Timings fix
Diffstat (limited to 'src/ft_key_loop.c')
-rw-r--r--src/ft_key_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_key_loop.c b/src/ft_key_loop.c
index 22975f8..9ca9185 100644
--- a/src/ft_key_loop.c
+++ b/src/ft_key_loop.c
@@ -112,6 +112,6 @@ int
cl->moves = (cl->key_input[0] == -1) ? (0) : (cl->moves);
begin_frame = clock();
ft_draw_scene(cl);
- ft_get_fps_count(clock() - begin_frame, cl);
+ ft_timings(begin_frame, cl);
return (0);
}