mirror of
https://github.com/storytold/winit.git
synced 2026-12-01 02:36:24 +01:00
Update the android glue to 0.2 to use the new cargo-apk crate
This commit is contained in:
1 parent
d4d4a6ffba
commit
764bf7ce4b
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -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,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user