aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_verline.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-17 16:47:59 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-17 16:47:59 +0100
commit5c908cdcd9c09ee4e5656ddc62ca1153f630354a (patch)
treef9efc3e226ca87904cab92716c65b051b11c304d /src/ft_draw_verline.c
parentRemoved "vim" map (diff)
parentsmall but important changes (diff)
download42-cub3d-5c908cdcd9c09ee4e5656ddc62ca1153f630354a.tar.gz
42-cub3d-5c908cdcd9c09ee4e5656ddc62ca1153f630354a.tar.bz2
42-cub3d-5c908cdcd9c09ee4e5656ddc62ca1153f630354a.tar.xz
42-cub3d-5c908cdcd9c09ee4e5656ddc62ca1153f630354a.tar.zst
42-cub3d-5c908cdcd9c09ee4e5656ddc62ca1153f630354a.zip
Merge branch 'tex_fmoen' of gitlab.com into tex_fmoen
Diffstat (limited to 'src/ft_draw_verline.c')
-rw-r--r--src/ft_draw_verline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_draw_verline.c b/src/ft_draw_verline.c
index 5c5ed29..bcddbc7 100644
--- a/src/ft_draw_verline.c
+++ b/src/ft_draw_verline.c
@@ -57,6 +57,7 @@ int8_t
}
y = y1;
ft_draw_ceil(cl, y, x);
+ ft_choose_tex(cl);
while (y <= y2)
{
*(int*)(cl->img.ptr + (x * 4 + (y * cl->img.sizeline))) = 0x0000ffaa;