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
|
swapchain_infos
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn results(&mut self) -> &mut [VkResult] {
|
pub fn results(&self) -> &mut [VkResult] {
|
||||||
if self.swapchainCount == 0 || self.pResults == ptr::null_mut() {
|
if self.swapchainCount == 0 || self.pResults == ptr::null_mut() {
|
||||||
&mut []
|
&mut []
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue