Add platform_display impls for win32 and android

Fix the cocoa function
This commit is contained in:
Tomaka17 2014-10-24 12:54:58 +02:00
parent 2c9eaf8651
commit 0eda82c28f
3 changed files with 5 additions and 2 deletions

View file

@ -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
}
}