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() }