diff options
author | quou <quou@disroot.org> | 2024-07-27 13:53:35 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-07-27 13:53:35 +1000 |
commit | 629a24052f77529cc306cbd355f57a48ba3ff49d (patch) | |
tree | fe1919dfc5f2d5b0e7247d2ef88b6fa71bbc9924 | |
parent | 951f6115c16c3ab482c19705344295c90af1625b (diff) |
Fix ren_line
-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; |