diff --git a/vulkan/vulkan.d b/vulkan/vulkan.d index 9763ef4..de85623 100644 --- a/vulkan/vulkan.d +++ b/vulkan/vulkan.d @@ -3336,7 +3336,7 @@ Init(VulkanBuildInfo build_info, u64 permanent_mem, u64 frame_mem) VkAttachmentDescription[2] attach_descriptions = [ { - format: g_vk.present_images[0].image.format, + format: g_vk.present_image_format, samples: VK_SAMPLE_COUNT_1_BIT, loadOp: VK_ATTACHMENT_LOAD_OP_CLEAR, storeOp: VK_ATTACHMENT_STORE_OP_STORE,