From 2b2ab7d08a8e3fb441bc441c349d39221c615e4d Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Thu, 23 Jan 2020 18:53:48 +0100 Subject: I got colors --- src/ft_drawsquare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_drawsquare.c') diff --git a/src/ft_drawsquare.c b/src/ft_drawsquare.c index d720f44..78ebd8c 100644 --- a/src/ft_drawsquare.c +++ b/src/ft_drawsquare.c @@ -13,7 +13,7 @@ ft_drawsquare(t_win *wlist, int a, int b) { while (y > b - 40) { - mlx_pixel_put(wlist->wlx, wlist->winptr, x, y, 255); + mlx_pixel_put(wlist->wlx, wlist->winptr, x, y, 0255255255); y--; } y = b; -- cgit v1.2.3