From af6bb0c1499d9b386d48ac8e88e86df07b205cdc Mon Sep 17 00:00:00 2001 From: marc2332 Date: Tue, 30 Apr 2024 23:41:12 +0200 Subject: [PATCH] fix android example --- glutin_examples/examples/android.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glutin_examples/examples/android.rs b/glutin_examples/examples/android.rs index fcd3bb31c1..818c2e44d0 100644 --- a/glutin_examples/examples/android.rs +++ b/glutin_examples/examples/android.rs @@ -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() }