diff options
Diffstat (limited to 'src/ft_drawsquare.c')
-rw-r--r-- | src/ft_drawsquare.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_drawsquare.c b/src/ft_drawsquare.c index 78ebd8c..df055fa 100644 --- a/src/ft_drawsquare.c +++ b/src/ft_drawsquare.c @@ -13,7 +13,8 @@ ft_drawsquare(t_win *wlist, int a, int b) { while (y > b - 40) { - mlx_pixel_put(wlist->wlx, wlist->winptr, x, y, 0255255255); + mlx_pixel_put(wlist->wlx, wlist->winptr, x, y, + wlist->clist->f_color); y--; } y = b; |