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

@ -8,6 +8,7 @@ and `WindowEvent::HoveredFile`.
- Revert the use of invisible surfaces in Wayland, which introduced graphical glitches with OpenGL (#835)
- On X11, implement `_NET_WM_PING` to allow desktop environment to kill unresponsive programs.
- On Windows, when a window is initially invisible, it won't take focus from the existing visible windows.
- On macOS, drop unused Metal dependency.
# 0.20.0 Alpha 1

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"