aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_scene.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p1.le-101.fr>2020-03-11 18:06:17 +0100
committerRudy Bousset <rbousset@z2r4p1.le-101.fr>2020-03-11 18:06:17 +0100
commit7b61072321c71c1612a7b33d2e8d722a49c5bc99 (patch)
tree6369fc33d405013e40e152061bb080e6a5caabf8 /src/ft_draw_scene.c
parentPerformance (diff)
download42-cub3d-7b61072321c71c1612a7b33d2e8d722a49c5bc99.tar.gz
42-cub3d-7b61072321c71c1612a7b33d2e8d722a49c5bc99.tar.bz2
42-cub3d-7b61072321c71c1612a7b33d2e8d722a49c5bc99.tar.xz
42-cub3d-7b61072321c71c1612a7b33d2e8d722a49c5bc99.tar.zst
42-cub3d-7b61072321c71c1612a7b33d2e8d722a49c5bc99.zip
ca tue
Diffstat (limited to 'src/ft_draw_scene.c')
-rw-r--r--src/ft_draw_scene.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ft_draw_scene.c b/src/ft_draw_scene.c
index 39cdadc..80cd1bc 100644
--- a/src/ft_draw_scene.c
+++ b/src/ft_draw_scene.c
@@ -41,10 +41,6 @@ static int8_t
void
ft_draw_scene(t_cub *clist)
{
- /* clist->img.img = mlx_new_image(clist->wlist.wlx, */
- /* clist->wlist.x_size, clist->wlist.y_size); */
- /* clist->img.ptr = mlx_get_data_addr(clist->img.img, &clist->img.bpp, */
- /* &clist->img.sizeline, &clist->img.endian); */
if (clist->doicast)
ft_castray(clist);
else
@@ -58,7 +54,6 @@ void
if (clist->ishud && clist->mlist.isnlvl)
if (ft_put_stage(clist) < 0)
ft_error(FT_RET_ALLOC_ERR, FT_ERR_ALLOCATE, clist);
- /* mlx_destroy_image(clist->wlist.wlx, clist->img.img); */
}
void