aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_hooks_and_loops.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-17 17:15:32 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-17 17:15:32 +0100
commit05ad2085ab6ce4ffb280b21ce3f321b2bd75aa9e (patch)
treec6c521c8f2ad8df4477005b8225427b7459daf32 /src/ft_hooks_and_loops.c
parentMerge branch 'back-to-pthread' (diff)
download42-cub3d-05ad2085ab6ce4ffb280b21ce3f321b2bd75aa9e.tar.gz
42-cub3d-05ad2085ab6ce4ffb280b21ce3f321b2bd75aa9e.tar.bz2
42-cub3d-05ad2085ab6ce4ffb280b21ce3f321b2bd75aa9e.tar.xz
42-cub3d-05ad2085ab6ce4ffb280b21ce3f321b2bd75aa9e.tar.zst
42-cub3d-05ad2085ab6ce4ffb280b21ce3f321b2bd75aa9e.zip
fps counter is bav
Diffstat (limited to 'src/ft_hooks_and_loops.c')
-rw-r--r--src/ft_hooks_and_loops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_hooks_and_loops.c b/src/ft_hooks_and_loops.c
index b8bdd36..9293496 100644
--- a/src/ft_hooks_and_loops.c
+++ b/src/ft_hooks_and_loops.c
@@ -15,7 +15,7 @@
#include <mlx.h>
void
- ft_hooks_and_loops(t_win *wl, t_cub *cl)
+ft_hooks_and_loops(t_win *wl, t_cub *cl)
{
mlx_hook(wl->winptr, 2, (1L << 0), ft_key_event, cl);
mlx_hook(wl->winptr, 3, (1L << 1), ft_key_release, cl);