Remove mut requirement
This commit is contained in:
parent
ae8eafcc10
commit
b2a294e4ff
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue