From 6619fab0441ac0770bd95f5c69e80289bc323d0d Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 5 Nov 2020 04:08:10 +0100 Subject: Update `iced_glutin` with new event loop logic --- winit/src/application.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'winit/src') diff --git a/winit/src/application.rs b/winit/src/application.rs index 96438d73..07108249 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -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, -- cgit