605: Enable X11 Support for the GL Backend r=kvark a=zicklag



Co-authored-by: Zicklag <zicklag@katharostech.com>
This commit is contained in:
bors[bot]andZicklag authored and GitHub committed 2020-11-05 04:05:27 +00:00
commit e2de17be6b
1 file changed
+4 -1
+4 -1
View File
@@ -45,10 +45,13 @@ tracing = { version = "0.1", default-features = false, features = ["std"] }
typed-arena = "2.0.1"
serde = { version = "1", features = ["derive"], optional = true }
#Note: we may consider switching this to "dev-dependencies" if users
# Enable X11 support
# 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.6", features = ["x11"] }
[target.'cfg(unix)'.dependencies]
gfx-backend-gl = { version = "0.6", features = ["x11"] }
[dev-dependencies]
cgmath = "0.17"