mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 23:05:43 +00:00
Cleanup physical.rs after last patch (#1887)
no need to set_len of properly initialized array
This commit is contained in:
parent
a49d534843
commit
57feb317c5
@ -1195,7 +1195,6 @@ impl<'a> PhysicalDevice<'a> {
|
||||
surface_format2s.as_mut_ptr(),
|
||||
),
|
||||
)?;
|
||||
surface_format2s.set_len(num as usize);
|
||||
}
|
||||
|
||||
Ok(surface_format2s
|
||||
|
Loading…
Reference in New Issue
Block a user