Merge branch 'master' of ssh://git.ablecorp.us:20/able/vox

This commit is contained in:
Able 2022-03-26 01:28:25 -05:00
commit c96ff044f0
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; 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"),