aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_scene.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 23:55:12 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 23:55:12 +0100
commit998d2df1356f83049c30f71bd5dc4c0597fd4824 (patch)
tree660eef6063088eea2b844984c49c5aa1b2b6e2f2 /src/ft_draw_scene.c
parentClean (diff)
download42-cub3d-998d2df1356f83049c30f71bd5dc4c0597fd4824.tar.gz
42-cub3d-998d2df1356f83049c30f71bd5dc4c0597fd4824.tar.bz2
42-cub3d-998d2df1356f83049c30f71bd5dc4c0597fd4824.tar.xz
42-cub3d-998d2df1356f83049c30f71bd5dc4c0597fd4824.tar.zst
42-cub3d-998d2df1356f83049c30f71bd5dc4c0597fd4824.zip
Nice bmp
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 cbe002f..9461eef 100644
--- a/src/ft_draw_scene.c
+++ b/src/ft_draw_scene.c
@@ -38,7 +38,7 @@ void
clist->img.ptr = mlx_get_data_addr(clist->img.img, &clist->img.bpp,
&clist->img.sizeline, &clist->img.endian);
ft_castray(clist);
- if (ft_save_to_bmp(clist->img.img, clist) < 0)
+ if (ft_save_to_bmp(clist) < 0)
ft_error(FT_RET_BMP_ERR, FT_ERR_WR_BMP, clist);
mlx_destroy_image(clist->wlist.wlx, clist->img.img);
}