diff options
author | June McEnroe <june@causal.agency> | 2018-02-05 17:43:12 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-02-05 17:43:12 -0500 |
commit | 46e57aa4ce1917b12a95cee9215e552199cc894b (patch) | |
tree | 67bd59aa7c471278df9919de99b87f77aa44b04e | |
parent | Always skip most significant bits in gfxx (diff) | |
download | src-46e57aa4ce1917b12a95cee9215e552199cc894b.tar.gz src-46e57aa4ce1917b12a95cee9215e552199cc894b.zip |
Take scale into account for when to stop drawing in gfxx
Diffstat (limited to '')
-rw-r--r-- | bin/gfxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gfxx.c b/bin/gfxx.c index ead9e2cd..1dfb3bfa 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) { |