aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ft_draw_verline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_verline.c b/src/ft_draw_verline.c
index 7edac71..e1bcb16 100644
--- a/src/ft_draw_verline.c
+++ b/src/ft_draw_verline.c
@@ -78,7 +78,7 @@ int8_t
ft_draw_ceil(cl, y, x);
(cl->rlist.line_h <= 0) ? (cl->rlist.line_h = 1) : 0;
/* ft_draw_ceil_tex(cl, y, x); */
- while (y <= y2)
+ while (y < y2)
{
d = y * 256 - cl->wlist->y_size * 128 + cl->rlist.line_h * 128;
d = (d <= 0) ? (-d) : (d);