philpax / wgpu-openxr-example

a barebones example of how to integrate OpenXR with wgpu (Vulkan-only)
MIT License
49 stars 9 forks source link

Found an issue with running on Linux that I fixed #14

Open MalekiRe opened 1 year ago

MalekiRe commented 1 year ago

When running on linux removing static from the openxr crate was necesscary, along with that, adding ash::extensions::khr::Swapchain::name() to the DeviceCreateInfo and removing it from extensions was necessary to get it running. I will be making a PR shortly but I assume this code does function on some other platform, likely windows, so is this just a platform difference and I should modify things with #cfg(unix) or is this something I should just generally add?