diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-29 22:38:46 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-29 22:38:46 +0100 |
commit | 6fed037a506e4f91f3427914886e5d432206e6fe (patch) | |
tree | 042a95c7900f9d7f833856e9cb717f173fcf3162 /src/main.c | |
parent | in progress (diff) | |
download | 42-cub3d-6fed037a506e4f91f3427914886e5d432206e6fe.tar.gz 42-cub3d-6fed037a506e4f91f3427914886e5d432206e6fe.tar.bz2 42-cub3d-6fed037a506e4f91f3427914886e5d432206e6fe.tar.xz 42-cub3d-6fed037a506e4f91f3427914886e5d432206e6fe.tar.zst 42-cub3d-6fed037a506e4f91f3427914886e5d432206e6fe.zip |
leaks leaks leaks
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); } |