Screw windows

This commit is contained in:
MrEggo 2022-03-26 12:26:13 +11:00
parent b3ba2d582a
commit 53e04eedc7
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"),