diff --git a/vulkano/src/device/physical.rs b/vulkano/src/device/physical.rs index e1bc2992..03065869 100644 --- a/vulkano/src/device/physical.rs +++ b/vulkano/src/device/physical.rs @@ -1195,7 +1195,6 @@ impl<'a> PhysicalDevice<'a> { surface_format2s.as_mut_ptr(), ), )?; - surface_format2s.set_len(num as usize); } Ok(surface_format2s