From 7970e427f46a4d40f4b367c3d722a94352c533b3 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 4 Mar 2020 16:32:31 +0100 Subject: More tab --- src/ft_save_to_bmp.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/ft_save_to_bmp.c') diff --git a/src/ft_save_to_bmp.c b/src/ft_save_to_bmp.c index 4bfaace..cb3fa9b 100644 --- a/src/ft_save_to_bmp.c +++ b/src/ft_save_to_bmp.c @@ -31,8 +31,15 @@ static int8_t } int8_t - ft_save_to_bmp(t_bmp_file *bmp_file, void *img, t_cub *cl) + ft_save_to_bmp(void *img, t_cub *cl) { + t_bmp_file bmp_file; + t_bmp_info bmp_info; + t_bmp_colors bmp_colors; + + bmp_file = ft_init_bmp(); + bmp_info = ft_init_bmp_info(); + bmp_colors = ft_init_bmp_colors(); if (ft_convert_image_to_bmp(bmp_file, img, cl) < 0) return (-1); return (0); -- cgit v1.2.3