From e82aa002c4c614dc2c2130cbd401f4fadb19bd72 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Thu, 14 Mar 2024 12:27:44 +0900 Subject: [PATCH] Minor refactoring --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.