aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_scene.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 15:00:24 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 15:00:24 +0100
commit61c649534bb5e951cd6c83527b9bb5eafa86cc25 (patch)
tree732ef752274b9d5e2fb7d7e8453e69b8cf0c6784 /src/ft_draw_scene.c
parentFixed them maps (diff)
download42-cub3d-61c649534bb5e951cd6c83527b9bb5eafa86cc25.tar.gz
42-cub3d-61c649534bb5e951cd6c83527b9bb5eafa86cc25.tar.bz2
42-cub3d-61c649534bb5e951cd6c83527b9bb5eafa86cc25.tar.xz
42-cub3d-61c649534bb5e951cd6c83527b9bb5eafa86cc25.tar.zst
42-cub3d-61c649534bb5e951cd6c83527b9bb5eafa86cc25.zip
Removed map print
Diffstat (limited to 'src/ft_draw_scene.c')
-rw-r--r--src/ft_draw_scene.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_scene.c b/src/ft_draw_scene.c
index 345c66b..1e16ba5 100644
--- a/src/ft_draw_scene.c
+++ b/src/ft_draw_scene.c
@@ -38,6 +38,6 @@ void
clist->img.ptr = mlx_get_data_addr(clist->img.img, &clist->img.bpp,
&clist->img.sizeline, &clist->img.endian);
ft_castray(clist);
- mlx_destroy_image(clist->wlist.wlx, clist->img.img);
ft_save_to_bmp();
+ mlx_destroy_image(clist->wlist.wlx, clist->img.img);
}