Bump version on master
This commit does not represent a release and only synchronizes CHANGELOG from the latest release.
This commit is contained in:
parent
16d860736b
commit
73910d20cc
3 changed files with 7 additions and 3 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
winit = "0.29.9"
|
||||
winit = "0.29.10"
|
||||
```
|
||||
|
||||
## [Documentation](https://docs.rs/winit)
|
||||
|
|
@ -158,7 +158,7 @@ For more details, refer to these `android-activity` [example applications](https
|
|||
|
||||
If your application is currently based on `NativeActivity` via the `ndk-glue` crate and building with `cargo apk`, then the minimal changes would be:
|
||||
1. Remove `ndk-glue` from your `Cargo.toml`
|
||||
2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.29.9", features = [ "android-native-activity" ] }`
|
||||
2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.29.10", features = [ "android-native-activity" ] }`
|
||||
3. Add an `android_main` entrypoint (as above), instead of using the '`[ndk_glue::main]` proc macro from `ndk-macros` (optionally add a dependency on `android_logger` and initialize logging as above).
|
||||
4. Pass a clone of the `AndroidApp` that your application receives to Winit when building your event loop (as shown above).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue