aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-02 01:05:20 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-02 01:05:20 +0100
commit6b5e8937d190639ce72c7e5dbee888f97f5f015e (patch)
tree4e3e28dddf4e40424c4c66757571371f7a86b25e /src
parenttrying to thread (diff)
download42-cub3d-6b5e8937d190639ce72c7e5dbee888f97f5f015e.tar.gz
42-cub3d-6b5e8937d190639ce72c7e5dbee888f97f5f015e.tar.bz2
42-cub3d-6b5e8937d190639ce72c7e5dbee888f97f5f015e.tar.xz
42-cub3d-6b5e8937d190639ce72c7e5dbee888f97f5f015e.tar.zst
42-cub3d-6b5e8937d190639ce72c7e5dbee888f97f5f015e.zip
ok
Diffstat (limited to 'src')
-rw-r--r--src/ft_treat_args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_treat_args.c b/src/ft_treat_args.c
index cc1391a..3a7f217 100644
--- a/src/ft_treat_args.c
+++ b/src/ft_treat_args.c
@@ -41,7 +41,7 @@ uint8_t
ft_draw_scene(clist);
if (clist->mlist->ismusic)
{
- pthread_create(&tid, NULL, ft_music, clist);
+ pthread_create(&tid, NULL, ft_music_thread, clist);
pthread_join(tid, NULL);
}
ft_hooks_and_loops(clist->wlist, clist);