mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
Fixes #575 - vulkan-portability feature on MacOS
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -20,7 +20,7 @@ default = []
|
||||
trace = ["serde", "wgc/trace"]
|
||||
replay = ["serde", "wgc/replay"]
|
||||
# Make Vulkan backend available on platforms where it is by default not, e.g. macOS
|
||||
vulkan-portability = ["wgc/gfx-backend-vulkan"]
|
||||
vulkan-portability = ["wgc/gfx-backend-vulkan", "gfx-backend-vulkan"]
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgc]
|
||||
package = "wgpu-core"
|
||||
@@ -94,6 +94,7 @@ test = true
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
objc = "0.2.7"
|
||||
gfx-backend-vulkan = { version = "0.6", optional = true }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
wasm-bindgen = "=0.2.68" # remember to change version in readme as well
|
||||
|
||||
Reference in new issue
Block a user