diff --git a/src/android/mod.rs b/src/android/mod.rs index 4149cc95..db3dd193 100644 --- a/src/android/mod.rs +++ b/src/android/mod.rs @@ -189,7 +189,7 @@ impl Window { } pub fn platform_display(&self) -> *mut libc::c_void { - self.surface as *mut libc::c_void + self.display as *mut libc::c_void } } diff --git a/src/win32/mod.rs b/src/win32/mod.rs index 13349f7a..33d06008 100644 --- a/src/win32/mod.rs +++ b/src/win32/mod.rs @@ -236,7 +236,7 @@ impl Window { } pub fn platform_display(&self) -> *mut libc::c_void { - self.window as *mut libc::c_void + unimplemented!() } }