mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
Split creating an EGL context in two parts
This commit is contained in:
@@ -169,9 +169,9 @@ impl Window {
|
||||
try!(EglContext::new(
|
||||
egl,
|
||||
&builder,
|
||||
Some(wayland_context.display.ptr() as *const _),
|
||||
(*shell_surface).ptr() as *const _
|
||||
))
|
||||
Some(wayland_context.display.ptr() as *const _))
|
||||
.and_then(|p| p.finish((*shell_surface).ptr() as *const _))
|
||||
)
|
||||
};
|
||||
|
||||
let events = Arc::new(Mutex::new(VecDeque::new()));
|
||||
|
||||
Reference in New Issue
Block a user