diff --git a/src/main.rs b/src/main.rs index 97d6f09..fc7e28e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -718,7 +718,7 @@ impl VulkanApp { fn choose_swap_present_mode( &self, - _available_present_modes: &Vec, + _available_present_modes: &[ffi::VkPresentModeKHR], ) -> ffi::VkPresentModeKHR { // Default to FIFO, don't check for MAILBOX.