From 23d6e8787eaf6418b5caf203c08bd9547608a610 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Fri, 3 Oct 2025 08:28:16 +0000 Subject: [PATCH] idk git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@136 b9cfdab3-6d41-4d17-bbe4-086880011989 --- examples/vulkan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/vulkan.c b/examples/vulkan.c index b4d7ae0..0ace07d 100644 --- a/examples/vulkan.c +++ b/examples/vulkan.c @@ -199,11 +199,11 @@ void vulkan_setup(MwWidget handle) { uint32_t i; VkViewport viewport = {}; VkRect2D scissor = {}; - VkCommandPool cmdPool = {}; + VkCommandPool cmdPool = VK_NULL_HANDLE; VkResult res = 0; VkShaderModule fragShaderModule; VkShaderModule vertShaderModule; - VkPipelineLayout pipelineLayout = {}; + VkPipelineLayout pipelineLayout = VK_NULL_HANDLE; VkAttachmentDescription colorAttachment = {}; VkAttachmentReference colorAttachmentRef = {}; VkSubpassDescription subpass = {};