add 'vulkan-portability' feature to wgpu when target family is unix (#101)

This commit is contained in:
tito
2024-05-30 02:53:55 -04:00
committed by GitHub
parent 0f9ccf7f04
commit a9b062425b

View File

@@ -32,6 +32,7 @@ ash = { version = "0.37.3", optional = true }
[target.'cfg(target_family = "unix")'.dependencies] [target.'cfg(target_family = "unix")'.dependencies]
openxr = { version = "0.18.0", features = ["mint"] } openxr = { version = "0.18.0", features = ["mint"] }
wgpu = { version = "0.19.3", features = ["vulkan-portability"] }
[target.'cfg(target_family = "windows")'.dependencies] [target.'cfg(target_family = "windows")'.dependencies]
openxr = { version = "0.18.0", features = ["mint", "static"] } openxr = { version = "0.18.0", features = ["mint", "static"] }