Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't _fillRect at the far right edge #97

Open
MarkJeronimus opened this issue Jul 1, 2021 · 0 comments
Open

Can't _fillRect at the far right edge #97

MarkJeronimus opened this issue Jul 1, 2021 · 0 comments

Comments

@MarkJeronimus
Copy link

MarkJeronimus commented Jul 1, 2021

Because of a typo, 1-wide filled rectangles, aligned at the right edge of the clipping window, become invisible:

if ((x >= dispWin.x2) || (y > dispWin.y2)) return;

should be

if ((x > dispWin.x2) || (y > dispWin.y2)) return;

Because of this, an image composed of 2x2 rectangles (or larger), scrolling across and beyond the screen, causes artifacts at the right edge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant