From 2101e405cf05fe076007efc191e311db209f63f9 Mon Sep 17 00:00:00 2001 From: yanchith Date: Tue, 10 Sep 2019 14:38:34 +0200 Subject: [PATCH] [rs] Propagate making Vulkan backend available to wgpu-rs --- wgpu/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index 1a81d4ce03..880b44f0e9 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -19,6 +19,8 @@ license = "MPL-2.0" [features] default = [] +# Make Vulkan backend available on platforms where it is by default not, e.g. macOS +vulkan = ["wgn/gfx-backend-vulkan"] [dependencies] wgn = { package = "wgpu-native", git = "https://github.com/gfx-rs/wgpu", rev = "499bf1d2686ad25b5a5133d6433e4f4c9179ff0b" }