mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
Merge pull request #9 from tomaka/update-android-glue
Update the android glue to 0.2 to use the new cargo-apk crate
This commit is contained in:
commit
524bc73039
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "winit"
|
||||
version = "0.4.9"
|
||||
version = "0.5.0"
|
||||
authors = ["The winit contributors, Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
||||
description = "Cross-platform window creation library."
|
||||
keywords = ["windowing"]
|
||||
|
@ -15,7 +15,7 @@ libc = "0.2"
|
|||
shared_library = "0.1.0"
|
||||
|
||||
[target.arm-linux-androideabi.dependencies.android_glue]
|
||||
version = "0.1"
|
||||
version = "0.2"
|
||||
|
||||
[target.i386-apple-ios.dependencies]
|
||||
objc = "0.2"
|
||||
|
|
|
@ -130,7 +130,7 @@ impl Window {
|
|||
android_glue::set_multitouch(win_attribs.multitouch);
|
||||
|
||||
Ok(Window {
|
||||
native_window: native_window,
|
||||
native_window: native_window as *const _,
|
||||
event_rx: rx,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue