From 1b91d4e5a98b6ca7ec5cb4348e7d64d7bbe52c2f Mon Sep 17 00:00:00 2001 From: marc0246 <40955683+marc0246@users.noreply.github.com> Date: Wed, 21 Feb 2024 09:24:50 +0100 Subject: [PATCH] Fix `VulkanoWindowRenderer::acquire` taking `&Vec` as well --- vulkano-util/src/renderer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vulkano-util/src/renderer.rs b/vulkano-util/src/renderer.rs index d4bf9bab..8da85e6f 100644 --- a/vulkano-util/src/renderer.rs +++ b/vulkano-util/src/renderer.rs @@ -263,7 +263,7 @@ impl VulkanoWindowRenderer { #[inline] pub fn acquire( &mut self, - on_recreate_swapchain: impl FnOnce(&Vec>), + on_recreate_swapchain: impl FnOnce(&[Arc]), ) -> Result, VulkanError> { // Recreate swap chain if needed (when resizing of window occurs or swapchain is outdated) // Also resize render views if needed