aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_drawsquare.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-01-23 18:53:48 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-01-23 18:53:48 +0100
commit2b2ab7d08a8e3fb441bc441c349d39221c615e4d (patch)
tree499cc59e6285991d75ca0bbeb777e18665963806 /src/ft_drawsquare.c
parentNice squares (diff)
download42-cub3d-2b2ab7d08a8e3fb441bc441c349d39221c615e4d.tar.gz
42-cub3d-2b2ab7d08a8e3fb441bc441c349d39221c615e4d.tar.bz2
42-cub3d-2b2ab7d08a8e3fb441bc441c349d39221c615e4d.tar.xz
42-cub3d-2b2ab7d08a8e3fb441bc441c349d39221c615e4d.tar.zst
42-cub3d-2b2ab7d08a8e3fb441bc441c349d39221c615e4d.zip
I got colors
Diffstat (limited to '')
-rw-r--r--src/ft_drawsquare.c2
1 files changed, 1 insertions, 1 deletions
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;