Remove Metal dependency on macOS (#1003)

This commit is contained in:
Aleksi Juvani 2019-07-03 21:19:07 +03:00 committed by Osspial
parent 2af753f307
commit f8bd671073
2 changed files with 6 additions and 1 deletions

View file

@ -35,10 +35,14 @@ objc = "0.2.3"
cocoa = "0.18.4"
core-foundation = "0.6"
core-graphics = "0.17.3"
core-video-sys = "0.1.2"
dispatch = "0.1.4"
objc = "0.2.3"
[target.'cfg(target_os = "macos")'.dependencies.core-video-sys]
version = "0.1.3"
default_features = false
features = ["display_link"]
[target.'cfg(target_os = "windows")'.dependencies]
bitflags = "1"