diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 01:05:20 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 01:05:20 +0100 |
commit | 6b5e8937d190639ce72c7e5dbee888f97f5f015e (patch) | |
tree | 4e3e28dddf4e40424c4c66757571371f7a86b25e /src/ft_treat_args.c | |
parent | trying to thread (diff) | |
download | 42-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/ft_treat_args.c')
-rw-r--r-- | src/ft_treat_args.c | 2 |
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); |