Update iced_glutin with new event loop logic
This commit is contained in:
parent
88993fb092
commit
6619fab044
2 changed files with 243 additions and 191 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue