mirror of
https://github.com/storytold/winit.git
synced 2026-11-24 13:20:44 +01:00
Update raw-window-handle to 0.3 (#1215)
This commit is contained in:
1 parent
df7571b369
commit
6f5e7e170c
2 files changed
+2
-1
No files matched your search
@@ -367,6 +367,7 @@ impl Window {
|
||||
pub fn raw_window_handle(&self) -> RawWindowHandle {
|
||||
let handle = WindowsHandle {
|
||||
hwnd: self.window.0 as *mut _,
|
||||
hinstance: self.hinstance() as *mut _,
|
||||
..WindowsHandle::empty()
|
||||
};
|
||||
RawWindowHandle::Windows(handle)
|
||||
|
||||
Reference in new issue
Block a user