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:
commit
0d37f01b5a
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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!()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue