Screw windows

master
MrEggo 2022-03-26 12:26:13 +11:00
parent 943412986c
commit 715e698396
3 changed files with 3 additions and 1 deletions

1
run.bat Normal file
View File

@ -0,0 +1 @@
cargo run --release

1
run.sh Normal file
View File

@ -0,0 +1 @@
cargo run

View File

@ -35,7 +35,7 @@ pub fn get_platform_data(window: &Window) -> PlatformData {
pd.nwh = data.ns_window;
}
#[cfg(target_os = "windows")]
RawWindowHandle::Windows(data) => {
RawWindowHandle::Win32(data) => {
pd.nwh = data.hwnd;
}
_ => panic!("Unsupported Window Manager"),