diff options
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs index 5ce9677..13349f7 100644 --- a/src/win32/mod.rs +++ b/src/win32/mod.rs @@ -1,5 +1,6 @@ use std::sync::atomic::AtomicBool; use std::ptr; +use libc; use Event; #[cfg(feature = "window")] @@ -235,7 +236,7 @@ impl Window { } pub fn platform_display(&self) -> *mut libc::c_void { - unimplemented!() + self.window as *mut libc::c_void } } |