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

Fix read screen pixels #26

Open
wants to merge 2 commits into
base: rayfork-0.9
Choose a base branch
from

Conversation

holywyvern
Copy link

Summary

The original algorithm for reading screen pixels had the problem of not storing the previously screen pixel, so when the screen was flipped half of the pixels were replaced with a mirror version.
It also had the problem of flipping pixels twice, as it when from 0 to height, instead of from 0 to half of the height.

@SasLuca
Copy link
Owner

SasLuca commented Nov 27, 2020

Hi, thanks so much for catching this. For some reason, I never noticed your PR and I am sorry for that. I will have a look at it this weekend. Thanks a lot.

@mandar1jn
Copy link

“This weekend”

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

Successfully merging this pull request may close these issues.

3 participants