From 998d2df1356f83049c30f71bd5dc4c0597fd4824 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 4 Mar 2020 23:55:12 +0100 Subject: Nice bmp --- src/ft_draw_scene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_draw_scene.c') 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); } -- cgit v1.2.3