mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 21:30:03 -04:00
expose the platform-specific window handle (currently Win only)
This commit is contained in:
@@ -719,6 +719,10 @@ impl Window {
|
||||
self.x.display as *mut libc::c_void
|
||||
}
|
||||
|
||||
pub fn platform_window(&self) -> *mut libc::c_void {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
/// See the docs in the crate root file.
|
||||
pub fn get_api(&self) -> ::Api {
|
||||
::Api::OpenGl
|
||||
|
||||
Reference in New Issue
Block a user