Update raw-window-handle to 0.3 (#1215)

This commit is contained in:
Osspial 2019-10-05 21:34:27 -04:00 committed by GitHub
parent df7571b369
commit 6f5e7e170c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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)