mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-21 14:24:18 +00:00
Fix VulkanoWindowRenderer::acquire
taking &Vec<T>
as well
This commit is contained in:
parent
4fcb869df2
commit
1b91d4e5a9
@ -263,7 +263,7 @@ impl VulkanoWindowRenderer {
|
||||
#[inline]
|
||||
pub fn acquire(
|
||||
&mut self,
|
||||
on_recreate_swapchain: impl FnOnce(&Vec<Arc<ImageView>>),
|
||||
on_recreate_swapchain: impl FnOnce(&[Arc<ImageView>]),
|
||||
) -> Result<Box<dyn GpuFuture>, VulkanError> {
|
||||
// Recreate swap chain if needed (when resizing of window occurs or swapchain is outdated)
|
||||
// Also resize render views if needed
|
||||
|
Loading…
Reference in New Issue
Block a user