-
Notifications
You must be signed in to change notification settings - Fork 60
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 v0.21.0 #157
Comments
Currently using a minor fork of glutin, iceiix/glutin#1
|
Removing the context trait imports is easy enough, but how to resolve the missing type arguments on WindowedContext? Added
https://docs.rs/glutin/0.21.0/glutin/type.WindowedContext.html impl<T: ContextCurrentState> WindowedContext<T> { |
Updating the glutin dependency to a 0.21.0-based branch, based on the migration guide at: https://gentz.rocks/posts/glutin-v0-21-0-migration-guide/ * Remove glutin::ContextTrait * Create window with ContextBuilder instead of WindowedContext::new * Add .window() accessor on WindowContext, since it now dereferences to Context In order to not break wasm32-unknown-unknown compilation, a minor fork is used of glutin v0.21.0 and a corresponding version of winit: iceiix/glutin#1 iceiix/winit#2 - with stubs to compile (but not run, see issue #115)
Glutin v0.21.0 migration guide: https://gentz.rocks/posts/glutin-v0-21-0-migration-guide/
The text was updated successfully, but these errors were encountered: