We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08c09de commit 923f6a2Copy full SHA for 923f6a2
src/vonal_daemon/windowing/mod.rs
@@ -56,10 +56,9 @@ impl GlutinWindowContext {
56
let raw_display_handle = winit_window.raw_display_handle();
57
let raw_window_handle = winit_window.raw_window_handle();
58
59
+ // This was GlxThenEgl, but it broke
60
#[cfg(target_os = "linux")]
- let preference = glutin::display::DisplayApiPreference::GlxThenEgl(Box::new(
61
- winit::platform::x11::register_xlib_error_hook,
62
- ));
+ let preference = glutin::display::DisplayApiPreference::Egl;
63
64
let gl_display = glutin::display::Display::new(raw_display_handle, preference).unwrap();
65
0 commit comments