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

Use modern glutin+winit API #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Speykious
Copy link

@Speykious Speykious commented Jan 22, 2023

swash_demo crashes on Wayland on my machine.

I wondered why #2 was happening and tried myself on Wayland (it seemed to be a logic bug, specifically an option being unwrapped, but maybe it happened because of something else), only to get a completely different error. Upon searching what that error was, the bunch of links I saw pointed to the fact that the issue was fixed in later versions of glutin.

So I tried porting swash_demo to the new glutin API which is now completely separate from winit.
Now it works on Wayland and X11, and should work on Windows and MacOS without any problems.

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.

1 participant