diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-25 19:28:42 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-25 19:28:42 +0100 |
commit | 38fa236364fe7268ed2a6cf7745d92b3df8465c7 (patch) | |
tree | cd415c2a272707e7ff08ae94f663f9c39ca29ff8 /src/ft_drawsquare.c | |
parent | Colors parsed (diff) | |
download | 42-cub3d-38fa236364fe7268ed2a6cf7745d92b3df8465c7.tar.gz 42-cub3d-38fa236364fe7268ed2a6cf7745d92b3df8465c7.tar.bz2 42-cub3d-38fa236364fe7268ed2a6cf7745d92b3df8465c7.tar.xz 42-cub3d-38fa236364fe7268ed2a6cf7745d92b3df8465c7.tar.zst 42-cub3d-38fa236364fe7268ed2a6cf7745d92b3df8465c7.zip |
Pretty bav
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; |