Add platform_display impls for win32 and android
Fix the cocoa function
This commit is contained in:
parent
2c9eaf8651
commit
0eda82c28f
3 changed files with 5 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
extern crate android_glue;
|
||||
extern crate native;
|
||||
|
||||
use libc;
|
||||
use {Event, WindowBuilder};
|
||||
|
||||
pub struct Window {
|
||||
|
|
@ -188,7 +189,7 @@ impl Window {
|
|||
}
|
||||
|
||||
pub fn platform_display(&self) -> *mut libc::c_void {
|
||||
unimplemented!()
|
||||
self.surface as *mut libc::c_void
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue