Add accessor for underlying display handle on Linux. Although unimplemented on other platforms, this applies to at least android as well.
This commit is contained in:
parent
d8ca679a6e
commit
5693fbcce3
5 changed files with 24 additions and 0 deletions
|
|
@ -186,6 +186,10 @@ impl Window {
|
|||
ffi::egl::SwapBuffers(self.display, self.surface);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn platform_display(&self) -> *mut libc::c_void {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
||||
#[unsafe_destructor]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue