aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_square.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_draw_square.c')
-rw-r--r--src/ft_draw_square.c2
1 files changed, 1 insertions, 1 deletions
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;