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

Updates glium dependency to 0.30 #23

Merged
merged 1 commit into from Aug 15, 2021
Merged

Conversation

tgockel
Copy link
Contributor

@tgockel tgockel commented Aug 12, 2021

This change updates to the latest version of glium (0.30), which brings
glutin to version 0.27 and winit to 0.25. This fixes known issue
#1773 in winit
0.19 on Linux X11.

The key stubstanitive change to the examples is the change from glutin's
EventsLoop to EventLoop. Instead of a user-defined while loop where
EventsLoop::poll_events is called, EventLoop has switched to a run
function which is event-driven by glutin's core. This slightly changes
the program structure.

The other changes are minor, as glutin moved a few data structures into
modules instead of having everything visible at the top-level.

This change updates to the latest version of glium (0.30), which brings
glutin to version 0.27 and winit to 0.25. This fixes known issue
[#1773](rust-windowing/winit#1773) in winit
0.19 on Linux X11.

The key stubstanitive change to the examples is the change from glutin's
`EventsLoop` to `EventLoop`. Instead of a user-defined while loop where
`EventsLoop::poll_events` is called, `EventLoop` has switched to a run
function which is event-driven by glutin's core. This slightly changes
the program structure.

The other changes are minor, as glutin moved a few data structures into
modules instead of having everything visible at the top-level.
Copy link
Owner

@leod leod left a comment

Choose a reason for hiding this comment

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

Wheee, thank you very much for contributing these changes! Updating the version of winit was long overdue.

Interestingly, without this PR, I just get Illegal instruction (core dumped) for every single example of rendology. I'm assuming that this could be related to #1773 in winit.

@leod leod merged commit 9baa619 into leod:master Aug 15, 2021
leod added a commit that referenced this pull request Jun 3, 2023
Updates glium dependency to 0.30
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.

None yet

2 participants