Skip to content

Commit

Permalink
Support event loops with custom user events (#2500)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwu authored Mar 17, 2024
1 parent 9001667 commit 7cbf3a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vulkano-util/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>(
&mut self,
event_loop: &winit::event_loop::EventLoopWindowTarget<()>,
event_loop: &winit::event_loop::EventLoopWindowTarget<T>,
vulkano_context: &VulkanoContext,
window_descriptor: &WindowDescriptor,
swapchain_create_info_modify: fn(&mut SwapchainCreateInfo),
Expand Down

0 comments on commit 7cbf3a7

Please sign in to comment.