mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 21:30:03 -04:00
Switch EGL to use only pf_reqs and opengl
This commit is contained in:
@@ -291,7 +291,7 @@ impl Window {
|
||||
});
|
||||
try!(EglContext::new(
|
||||
egl,
|
||||
&builder,
|
||||
&builder.pf_reqs, &builder.opengl.clone().map_sharing(|_| unimplemented!()), // TODO:
|
||||
egl::NativeDisplay::Wayland(Some(wayland_context.display.ptr() as *const _)))
|
||||
.and_then(|p| p.finish((**shell_window.get_shell()).ptr() as *const _))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user