egui
egui copied to clipboard
Update to winit 0.27.1 and glutin 0.29.0
Bumps winit version
Blocked on:
- https://github.com/gfx-rs/wgpu/pull/2918
This closes #992 btw.
A new wgpu release isn’t due until late September, so either we wait until then or we make egui-winit compatible with both old and new winit, with a feature-flag to select which one to use
I might have a solution to this: https://github.com/rust-windowing/winit/pull/2418
So this way Winit would implement the old and new raw_window_handle
traits which can hopefully make Winit 0.27 compatible with wgpu 0.13
It would be good to test this egui branch against this
I might have a solution to this: rust-windowing/winit#2418
So this way Winit would implement the old and new
raw_window_handle
traits which can hopefully make Winit 0.27 compatible with wgpu 0.13It would be good to test this egui branch against this
I tested it, and it works! I added this to the root Cargo.toml
:
[patch.crates-io]
winit = { git = 'https://github.com/rib/winit/', branch = 'raw_window_handle_04' }
and could then run egui_demo_app
with the wgpu
feature. Nice job @rib !
So this PR is now blocked on https://github.com/rust-windowing/winit/pull/2418 plus a winit release.
ah, cool, thanks for testing/confirming
Winit 0.27.2 got released.
For some reason I can no longer push to this, so I continued the work in https://github.com/emilk/egui/pull/1914