Minor refactoring

This commit is contained in:
Stephen Seo 2024-03-14 12:27:44 +09:00
parent 511a5589db
commit e82aa002c4

View file

@ -718,7 +718,7 @@ impl VulkanApp {
fn choose_swap_present_mode(
&self,
_available_present_modes: &Vec<ffi::VkPresentModeKHR>,
_available_present_modes: &[ffi::VkPresentModeKHR],
) -> ffi::VkPresentModeKHR {
// Default to FIFO, don't check for MAILBOX.