From e29dd2fa3688e1e96a25af3b651da574af08aa90 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Thu, 13 Feb 2020 19:42:05 +0100 Subject: Splited structs --- src/ft_draw_square.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_draw_square.c') diff --git a/src/ft_draw_square.c b/src/ft_draw_square.c index 72cf904..9f9af56 100644 --- a/src/ft_draw_square.c +++ b/src/ft_draw_square.c @@ -18,7 +18,7 @@ void ft_draw_square(int a, int b, int rgb, t_cub *clist) { - const uint16_t scale = clist->scale; + const uint16_t scale = clist->mlist->scale; int x; int y; -- cgit v1.2.3