Skip to content

Commit

Permalink
fixup! build: upgrade winit 0.29.2 → 0.30.0, avoid nontrivial migra…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
ErichDonGubler committed May 14, 2024
1 parent ee869dc commit a01c46a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glutin_examples/examples/android.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#![cfg(android_platform)]

use winit::event_loop::EventLoopBuilder;
use winit::event_loop::EventLoop;
use winit::platform::android::EventLoopBuilderExtAndroid;

#[no_mangle]
fn android_main(app: winit::platform::android::activity::AndroidApp) {
let event_loop = EventLoopBuilder::new().with_android_app(app).build().unwrap();
let event_loop = EventLoop::builder().with_android_app(app).build().unwrap();
glutin_examples::main(event_loop).unwrap()
}

0 comments on commit a01c46a

Please sign in to comment.