diff options
-rw-r--r-- | render.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -433,7 +433,7 @@ void ren_line( ) { Line l; init_line(&l, s, e); - while (l.x != e[0] && l.y != e[1]) { + while (l.x != e[0] || l.y != e[1]) { Colour* dst = &r->t[l.x + l.y * r->vp[0]]; if (l.x < r->clip[0] || l.y < r->clip[1]) goto step; if (l.x >= r->clip[2] || l.y >= r->clip[3]) goto step; |