From 40fbb328150d853d0d7a83ce447c3f008de38822 Mon Sep 17 00:00:00 2001 From: gramanas Date: Sun, 16 Jun 2024 22:20:07 +0300 Subject: Start integrating pds, fix warnings and add new test build object --- src/cplusplus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cplusplus.cpp') diff --git a/src/cplusplus.cpp b/src/cplusplus.cpp index 35876f5..68cb8c3 100644 --- a/src/cplusplus.cpp +++ b/src/cplusplus.cpp @@ -109,7 +109,7 @@ init_imgui(vks_context *vk) VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO_KHR; init_info.PipelineRenderingCreateInfo.colorAttachmentCount = 1; init_info.PipelineRenderingCreateInfo.pColorAttachmentFormats = &vk->swapchain.image_format; - init_info.PipelineRenderingCreateInfo.depthAttachmentFormat = findDepthFormat(*vk); + init_info.PipelineRenderingCreateInfo.depthAttachmentFormat = vks_find_depth_format(*vk); ImGui_ImplVulkan_Init(&init_info); // (this gets a bit more complicated, see example app for full reference) -- cgit v1.2.3