Screw windows
parent
943412986c
commit
715e698396
|
@ -35,7 +35,7 @@ pub fn get_platform_data(window: &Window) -> PlatformData {
|
||||||
pd.nwh = data.ns_window;
|
pd.nwh = data.ns_window;
|
||||||
}
|
}
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
RawWindowHandle::Windows(data) => {
|
RawWindowHandle::Win32(data) => {
|
||||||
pd.nwh = data.hwnd;
|
pd.nwh = data.hwnd;
|
||||||
}
|
}
|
||||||
_ => panic!("Unsupported Window Manager"),
|
_ => panic!("Unsupported Window Manager"),
|
||||||
|
|
Loading…
Reference in New Issue