From f46710337ad01ebc93e583ad1a60b435ef396198 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Wed, 13 Mar 2024 13:58:30 +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 8e7af54..94c6b50 100644 --- a/src/main.rs +++ b/src/main.rs @@ -415,7 +415,7 @@ impl VulkanApp { dev_queue_create_infos.push(dev_queue_create_info); } - let mut phys_dev_feat: ffi::VkPhysicalDeviceFeatures = unsafe { std::mem::zeroed() }; + let phys_dev_feat: ffi::VkPhysicalDeviceFeatures = unsafe { std::mem::zeroed() }; let mut dev_create_info: ffi::VkDeviceCreateInfo = unsafe { std::mem::zeroed() }; dev_create_info.sType = ffi::VkStructureType_VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO;