Merge pull request #69 from tomaka/revert-68-fix-native-win

[WIP] Fix platform_display behavior on android and win32
This commit is contained in:
tomaka 2014-10-26 15:40:31 +01:00
commit 0d37f01b5a
2 changed files with 2 additions and 2 deletions

View file

@ -189,7 +189,7 @@ impl Window {
} }
pub fn platform_display(&self) -> *mut libc::c_void { pub fn platform_display(&self) -> *mut libc::c_void {
self.surface as *mut libc::c_void self.display as *mut libc::c_void
} }
} }

View file

@ -236,7 +236,7 @@ impl Window {
} }
pub fn platform_display(&self) -> *mut libc::c_void { pub fn platform_display(&self) -> *mut libc::c_void {
self.window as *mut libc::c_void unimplemented!()
} }
} }