Compare commits

...

2 Commits

Author SHA1 Message Date
MrEggo 0bcab7b058 Merge branch 'master' of https://git.ablecorp.us:443/able/vox 2022-03-26 12:26:23 +11:00
MrEggo 715e698396 Screw windows 2022-03-26 12:26:13 +11:00
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

@ -34,7 +34,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"),