fix build errors for examples on osx (#260)
This commit is contained in:
parent
594b184c38
commit
c105d2842c
2 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,7 @@ authors = ["maik klein <maikklein@googlemail.com>"]
|
|||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
winit = "0.16"
|
||||
winit = "0.19.5"
|
||||
image = "0.10.4"
|
||||
ash = { path = "../ash" }
|
||||
|
||||
|
@ -13,6 +13,6 @@ ash = { path = "../ash" }
|
|||
winapi = { version = "0.3.4", features = ["windef", "winuser"] }
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
metal-rs = "0.6"
|
||||
cocoa = "0.13"
|
||||
objc = "0.2.2"
|
||||
metal = "0.17.1"
|
||||
cocoa = "0.20.0"
|
||||
objc = "0.2.7"
|
||||
|
|
|
@ -5,7 +5,7 @@ extern crate winapi;
|
|||
#[cfg(target_os = "macos")]
|
||||
extern crate cocoa;
|
||||
#[cfg(target_os = "macos")]
|
||||
extern crate metal_rs as metal;
|
||||
extern crate metal;
|
||||
#[cfg(target_os = "macos")]
|
||||
extern crate objc;
|
||||
extern crate winit;
|
||||
|
|
Loading…
Add table
Reference in a new issue