diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -34,6 +34,8 @@ int ft_wall_tex_init(clist); if (argc < 3) { + if (ft_init_winptr(clist) < 0) + return (ft_exit(FT_RET_FAILED_MLX, clist)); ft_draw_scene(clist); ft_hooks_and_loops(clist->wlist, clist); } @@ -47,5 +49,6 @@ int ft_dprintf(STDERR_FILENO, "Error\n\033[1;31mBad arguments\n\033[0m"); return (ft_exit(FT_RET_BAD_ARGV, clist)); } + /* ft_music(clist); */ return (0); } |