From 7cbf3a7f2694f75e44c778878b5520a45c6a2d1c Mon Sep 17 00:00:00 2001 From: Michael Wu Date: Sun, 17 Mar 2024 19:19:44 -0400 Subject: [PATCH] Support event loops with custom user events (#2500) --- vulkano-util/src/window.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vulkano-util/src/window.rs b/vulkano-util/src/window.rs index 82239741cd..aaa863365b 100644 --- a/vulkano-util/src/window.rs +++ b/vulkano-util/src/window.rs @@ -44,9 +44,9 @@ pub struct VulkanoWindows { impl VulkanoWindows { /// Creates a winit window with [`VulkanoWindowRenderer`] based on the given /// [`WindowDescriptor`] input and swapchain creation modifications. - pub fn create_window( + pub fn create_window( &mut self, - event_loop: &winit::event_loop::EventLoopWindowTarget<()>, + event_loop: &winit::event_loop::EventLoopWindowTarget, vulkano_context: &VulkanoContext, window_descriptor: &WindowDescriptor, swapchain_create_info_modify: fn(&mut SwapchainCreateInfo),