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 (and simplify) blurry Sokol rendering #821

Merged
merged 2 commits into from
Mar 21, 2019

Conversation

ayuusweetfish
Copy link
Contributor

I'm by no means experienced with Sokol, but I somehow managed to get a fix.

The first commit already fixes the blurriness, while the second one e968db3 aims at getting rid of the unnecessary upscaling process taken from the examples, but I cannot conveniently test the output on platforms other than macOS/Metal. In particular, I'm not sure whether the image will flip vertically with different backends (with left-handed and right-handed cooordinate systems), so this should not be merged until anyone helps confirm the correctness on other devices — I'd appreciate it!

Apologies for flooding with PRs, and thanks for your effort and time (^ ^;)

@nesbox
Copy link
Owner

nesbox commented Mar 18, 2019

Hi, thank you for the PR, I'll review and approve it soon...

Copy link
Owner

@nesbox nesbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it works, thank you
one note, you committed .sokol_gfx.c.swp, I'll remove it after PR merge

@nesbox nesbox merged commit 6df7c42 into nesbox:master Mar 21, 2019
nesbox added a commit that referenced this pull request Mar 21, 2019
@nesbox nesbox added this to the 0.80.0 milestone Mar 21, 2019
@nesbox nesbox added the enhancement Improvement of existing feature or adding something new label Mar 21, 2019
@ayuusweetfish
Copy link
Contributor Author

Oooh my carelessness… Thanks >_<

On a sided note, you have made sure it works correctly on other platforms such as Windows and Linux, right?

@nesbox
Copy link
Owner

nesbox commented Mar 21, 2019

I tested it on MacOS and Windows, works correctly.
Thank you :)

@nesbox nesbox removed this from the 0.80.0 milestone Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing feature or adding something new
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants