[rs] Propagate making Vulkan backend available to wgpu-rs

This commit is contained in:
yanchith 2019-09-10 14:38:34 +02:00
parent 559e5ceb33
commit 2101e405cf

View File

@ -19,6 +19,8 @@ license = "MPL-2.0"
[features] [features]
default = [] default = []
# Make Vulkan backend available on platforms where it is by default not, e.g. macOS
vulkan = ["wgn/gfx-backend-vulkan"]
[dependencies] [dependencies]
wgn = { package = "wgpu-native", git = "https://github.com/gfx-rs/wgpu", rev = "499bf1d2686ad25b5a5133d6433e4f4c9179ff0b" } wgn = { package = "wgpu-native", git = "https://github.com/gfx-rs/wgpu", rev = "499bf1d2686ad25b5a5133d6433e4f4c9179ff0b" }