mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
Add platform_display impls for win32 and android
Fix the cocoa function
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user