Update iced_glutin with new event loop logic

This commit is contained in:
Héctor Ramón Jiménez 2020-11-05 04:08:10 +01:00
parent 88993fb092
commit 6619fab044
2 changed files with 243 additions and 191 deletions

View file

@ -145,6 +145,7 @@ where
let (application, init_command) = {
let flags = settings.flags;
runtime.enter(|| A::new(flags))
};
@ -408,8 +409,6 @@ pub fn requests_exit(
}
}
/// Handles a `WindowEvent` and mutates the keyboard modifiers, viewport, and
/// resized flag accordingly.
fn build_user_interface<'a, A: Application>(
application: &'a mut A,
cache: Cache,