On Android, use HasRawWindowHandle directly from the ndk crate (#2318)
The `ndk` crate now implements [`HasRawWindowHandle` directly on `NativeWindow`], relieving the burden to reimplement it on `winit`. [`HasRawWindowHandle` directly on `NativeWindow`]: https://github.com/rust-windowing/android-ndk-rs/pull/274
This commit is contained in:
parent
c5eaa0ab69
commit
57981b533d
2 changed files with 6 additions and 8 deletions
|
|
@ -38,9 +38,9 @@ image = { version = "0.24.0", default-features = false, features = ["png"] }
|
|||
simple_logger = "2.1.0"
|
||||
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
ndk = "0.6"
|
||||
ndk-sys = "0.3"
|
||||
ndk-glue = "0.6"
|
||||
# Coordinate the next winit release with android-ndk-rs: https://github.com/rust-windowing/winit/issues/1995
|
||||
ndk = { git = "https://github.com/rust-windowing/android-ndk-rs", rev = "7e33384" }
|
||||
ndk-glue = { git = "https://github.com/rust-windowing/android-ndk-rs", rev = "7e33384" }
|
||||
|
||||
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
|
||||
objc = "0.2.7"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue