Remove mut requirement

This commit is contained in:
hodasemi 2023-12-04 14:18:15 +01:00
parent ae8eafcc10
commit b2a294e4ff

View file

@ -74,7 +74,7 @@ impl VkPresentInfoKHR {
swapchain_infos
}
pub fn results(&mut self) -> &mut [VkResult] {
pub fn results(&self) -> &mut [VkResult] {
if self.swapchainCount == 0 || self.pResults == ptr::null_mut() {
&mut []
} else {