Cleanup physical.rs after last patch (#1887)

no need to set_len of properly initialized array
This commit is contained in:
maratik123 2022-05-02 11:20:24 +03:00 committed by GitHub
parent a49d534843
commit 57feb317c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1195,7 +1195,6 @@ impl<'a> PhysicalDevice<'a> {
surface_format2s.as_mut_ptr(),
),
)?;
surface_format2s.set_len(num as usize);
}
Ok(surface_format2s