summary refs log tree commit diff
path: root/bin/gfxx.c
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-02-05 17:43:12 -0500
committerJune McEnroe <programble@gmail.com>2018-02-05 17:43:12 -0500
commitd01d8e4cb03de5c04d0b4c9254937c2c52a56380 (patch)
tree0dba6a68514c2709e759720f49772df40e2dfb21 /bin/gfxx.c
parentAlways skip most significant bits in gfxx (diff)
downloadsrc-d01d8e4cb03de5c04d0b4c9254937c2c52a56380.tar.gz
src-d01d8e4cb03de5c04d0b4c9254937c2c52a56380.zip
Take scale into account for when to stop drawing in gfxx
Diffstat (limited to 'bin/gfxx.c')
-rw-r--r--bin/gfxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gfxx.c b/bin/gfxx.c
index 11f9aa20..43cbe5f6 100644
--- a/bin/gfxx.c
+++ b/bin/gfxx.c
@@ -182,7 +182,7 @@ static bool nextY(struct Iter *it) {
     }
     it->x = it->left;
     if (mirror) it->x += width - 1;
-    return (it->left < it->xres);
+    return (it->left < it->xres / scale);
 }
 
 static bool next(struct Iter *it) {