diff options
Diffstat (limited to 'winit/src')
-rw-r--r-- | winit/src/application.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/winit/src/application.rs b/winit/src/application.rs index 55fd9e73..12279bbb 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -504,7 +504,10 @@ pub fn build_user_interface<'a, A: Application>( renderer: &mut A::Renderer, size: Size, debug: &mut Debug, -) -> UserInterface<'a, A::Message, A::Renderer> { +) -> UserInterface<'a, A::Message, A::Renderer> +where + <A::Renderer as crate::Renderer>::Theme: theme::Definition, +{ debug.view_started(); let view = application.view(); debug.view_finished(); |