mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 07:03:14 -04:00
Android example: document pre-requisites and fix code for rust 1.92.0 (#8122)
* [x] I have followed the instructions in the PR template ``` + echo 'All checks passed.' All checks passed. ``` I had to update `.png`'s for tests to pass, but I guess it's specific to my laptop. --------- Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
committed by
GitHub
parent
8a0855bb02
commit
fe8b1edfc6
@@ -3,7 +3,7 @@
|
||||
use eframe::{CreationContext, egui};
|
||||
|
||||
#[cfg(target_os = "android")]
|
||||
#[no_mangle]
|
||||
#[unsafe(no_mangle)]
|
||||
fn android_main(app: winit::platform::android::activity::AndroidApp) {
|
||||
// Log to android output
|
||||
android_logger::init_once(
|
||||
|
||||
Reference in New Issue
Block a user