diff options
author | grm <grm@eyesin.space> | 2024-06-16 22:20:07 +0300 |
---|---|---|
committer | grm <grm@eyesin.space> | 2024-06-16 22:20:07 +0300 |
commit | bf19cf357ef64ef727f3687329dd5aa3e66d2752 (patch) | |
tree | 2a41218d92e94c360692ef39162ff2d5348c0e3a /src/cplusplus.cpp | |
parent | 92bee705c1533a7e06c8aefd1221618b31d0fd6f (diff) | |
download | cgame-bf19cf357ef64ef727f3687329dd5aa3e66d2752.tar.gz cgame-bf19cf357ef64ef727f3687329dd5aa3e66d2752.tar.bz2 cgame-bf19cf357ef64ef727f3687329dd5aa3e66d2752.zip |
Start integrating pds, fix warnings and add new test build object
Diffstat (limited to 'src/cplusplus.cpp')
-rw-r--r-- | src/cplusplus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |