mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 22:30:04 -04:00
Fix compilation on Linux.
This commit is contained in:
@@ -160,8 +160,8 @@ impl<T> EventLoopExtUnix for EventLoop<T> {
|
|||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
fn get_wayland_display(&self) -> Option<*mut raw::c_void> {
|
fn get_wayland_display(&self) -> Option<*mut raw::c_void> {
|
||||||
match self.events_loop {
|
match self.event_loop {
|
||||||
LinuxEventsLoop::Wayland(ref e) => Some(e.get_display().c_ptr() as *mut _),
|
LinuxEventLoop::Wayland(ref e) => Some(e.get_display().get_display_ptr() as *mut _),
|
||||||
_ => None
|
_ => None
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user