From bc07717f77aa8d0d82e7cdb8e384f45f383ff0c7 Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Sun, 31 May 2020 11:40:33 -0400 Subject: [PATCH] Enable X11 in Vulkan (#335) * Enable X11 in Vulkan * Fix Cargo comments --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f861fd6efc..0b4059169c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,6 +44,11 @@ smallvec = "1" raw-window-handle = "0.3" parking_lot = "0.10" +#Note: we may consider switching this to "dev-dependencies" if users +# want to opt into X11 explicitly. +[target.'cfg(all(unix, not(target_os = "ios"), not(target_os = "macos")))'.dependencies] +gfx-backend-vulkan = { version = "0.5", features = ["x11"] } + [dev-dependencies] cgmath = "0.17" log = "0.4"