We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the source bitmap has more than 256 pixels, the scaling produces a wrong result due to a bad cast:
color = ptr[(uint8_t)((py * source->width) + px)];
Should be:
color = ptr[(py * source->width) + px];
The text was updated successfully, but these errors were encountered:
Remove unneseccary cast (fixes #49)
5d1dc70
Remove unnecessary cast (fixes #49) (#102)
4157055
b79a5bc
tuupola
No branches or pull requests
If the source bitmap has more than 256 pixels, the scaling produces a wrong result due to a bad cast:
Should be:
The text was updated successfully, but these errors were encountered: