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

Update to glutin 0.9.0 #118

Merged
merged 1 commit into from
Jul 11, 2017
Merged

Conversation

willglynn
Copy link
Contributor

glutin 0.9.0 was recently released, which includes an API change that splits the concept of "window" and "GL context" into two separate concepts (rust-windowing/glutin#901) with two separate builders. Other relevant changes include:

  • Introducing glutin::GlWindow (which is what we want here),
  • Plumbing down device_id on various input events (which are all summarily discarded),
  • Changing the window event enums to structs instead of tuples (which is what probably prompted that change),
  • Switching cursor positions to f64 (which are summarily reduced to i32 in most cases), and
  • Introducing an event loop proxy which can interrupt the event loop, rather than requiring multiple references to the event loop itself.

glutin 0.9.0 also bumps winit to 0.7, which has some significant internal changes on Windows (rust-windowing/winit#209) and MacOS X (rust-windowing/winit#210).

Copy link
Contributor

@mitchmindtree mitchmindtree left a comment

Choose a reason for hiding this comment

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

Looks good!

@bvssvni
Copy link
Member

bvssvni commented Jul 11, 2017

Nice! Merging.

@bvssvni bvssvni merged commit ce5f47c into PistonDevelopers:master Jul 11, 2017
@willglynn willglynn deleted the glutin_0.9.0 branch July 11, 2017 14:38
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