mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
[rs] Enable X11 in Vulkan (#335)
* Enable X11 in Vulkan * Fix Cargo comments
This commit is contained in:
1 parent
d065ecffe7
commit
d3fcd4711c
1 file changed
+5
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user