diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-28 15:21:21 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-28 15:21:21 +0100 |
commit | c0264d533fc95639c8eeb570d131746f67d64fe9 (patch) | |
tree | a8e65f808c8c88060a3e22a130c8963e546619de /src/ft_tex_init.c | |
parent | removed bloat (diff) | |
download | 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.tar.gz 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.tar.bz2 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.tar.xz 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.tar.zst 42-cub3d-c0264d533fc95639c8eeb570d131746f67d64fe9.zip |
Removed skybox related bloat
Diffstat (limited to 'src/ft_tex_init.c')
-rw-r--r-- | src/ft_tex_init.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ft_tex_init.c b/src/ft_tex_init.c index a6eec43..e2fef5e 100644 --- a/src/ft_tex_init.c +++ b/src/ft_tex_init.c @@ -91,13 +91,6 @@ static void cl->tlist[17].ptr = mlx_get_data_addr(cl->tlist[17].img, &cl->tlist[17].bpp, &cl->tlist[17].sizeline, &cl->tlist[17].endian); } - if (cl->mlist.isskybox) - { - cl->tlist[7].img = mlx_xpm_file_to_image(cl->wlist.wlx, - cl->mlist.skybox_path, &cl->tlist[7].img_w, &cl->tlist[7].img_h); - cl->tlist[7].ptr = mlx_get_data_addr(cl->tlist[7].img, - &cl->tlist[7].bpp, &cl->tlist[7].sizeline, &cl->tlist[7].endian); - } else if (cl->mlist.isctex) { cl->tlist[7].img = mlx_xpm_file_to_image(cl->wlist.wlx, |