aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_verline.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-03-08 16:17:27 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-03-08 16:17:27 +0100
commit74c7156ece4d4abb7ebd5bb8886a84ac2713380e (patch)
tree699d81babcbcfbe8cd44a4c66d6b5fd357c00b94 /src/ft_draw_verline.c
parentLess retarded scaling and shit (diff)
download42-cub3d-74c7156ece4d4abb7ebd5bb8886a84ac2713380e.tar.gz
42-cub3d-74c7156ece4d4abb7ebd5bb8886a84ac2713380e.tar.bz2
42-cub3d-74c7156ece4d4abb7ebd5bb8886a84ac2713380e.tar.xz
42-cub3d-74c7156ece4d4abb7ebd5bb8886a84ac2713380e.tar.zst
42-cub3d-74c7156ece4d4abb7ebd5bb8886a84ac2713380e.zip
Removed bloat
Diffstat (limited to '')
-rw-r--r--src/ft_draw_verline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ft_draw_verline.c b/src/ft_draw_verline.c
index 915e513..3d0fea3 100644
--- a/src/ft_draw_verline.c
+++ b/src/ft_draw_verline.c
@@ -56,9 +56,9 @@ static void
cl->tlist[6].tex_y = (cl->tlist[6].tex_y > 0)
? (cl->tlist[6].tex_y) : (-cl->tlist[6].tex_y);
ft_draw_floor_tex(cl, y, x, cl->tlist[6].tex_y);
- *(int*)(cl->img.ptr +
- (x * 4 + (y * cl->img.sizeline)))
- = ft_darken_floor(cl->f_rgb, weight, cl);
+ /* *(int*)(cl->img.ptr + */
+ /* (x * 4 + (y * cl->img.sizeline))) */
+ /* = ft_darken_floor(cl->f_rgb, weight, cl); */
y++;
}
}