aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_drawsquare.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-02-04 22:58:58 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-02-04 22:58:58 +0100
commitde72340f4954e4449015885543b256d67e0dc36c (patch)
treec6b4ea0c41b9afd9fb605c17184f471776c2bd19 /src/ft_drawsquare.c
parentleaks fix (diff)
download42-cub3d-de72340f4954e4449015885543b256d67e0dc36c.tar.gz
42-cub3d-de72340f4954e4449015885543b256d67e0dc36c.tar.bz2
42-cub3d-de72340f4954e4449015885543b256d67e0dc36c.tar.xz
42-cub3d-de72340f4954e4449015885543b256d67e0dc36c.tar.zst
42-cub3d-de72340f4954e4449015885543b256d67e0dc36c.zip
Pretty good
Diffstat (limited to '')
-rw-r--r--src/ft_drawsquare.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ft_drawsquare.c b/src/ft_drawsquare.c
index f23bd79..1488c68 100644
--- a/src/ft_drawsquare.c
+++ b/src/ft_drawsquare.c
@@ -26,7 +26,6 @@ void
{
while (y > b - 40)
{
- /* mlx_pixel_put(clist->wlist->wlx, clist->wlist->winptr, x, y, rgb); */
*(int*)(clist->img.ptr + (x * 4 + (y * clist->img.sizeline))) = rgb;
y--;
}