From 4c241454f5698de3e6a5be07feb22ce930d63002 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Tue, 28 Jan 2025 10:52:30 -0500 Subject: pke: remove MAX_FRAMES_IN_FLIGHT --- editor/editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') diff --git a/editor/editor.cpp b/editor/editor.cpp index 9f6b492..bc5d072 100644 --- a/editor/editor.cpp +++ b/editor/editor.cpp @@ -1160,7 +1160,7 @@ void RecordImGui_CompGrBinds(bool readonly, CompGrBinds *component) { if (component->vkPipelineLayout) ImGui::InputScalar("VkPipelineLayout", ImGuiDataType_U64, &component->vkPipelineLayout, nullptr, nullptr, "0x%016lX", ImGuiInputTextFlags_ReadOnly); if (component->vkDescriptorSets){ - ImGui::InputScalarN("VkPipelineDescriptorSets", ImGuiDataType_U64, &component->vkDescriptorSets, MAX_FRAMES_IN_FLIGHT, nullptr, nullptr, "0x%016lX", ImGuiInputTextFlags_ReadOnly); + ImGui::InputScalarN("VkPipelineDescriptorSets", ImGuiDataType_U64, &component->vkDescriptorSets, swapchainLength, nullptr, nullptr, "0x%016lX", ImGuiInputTextFlags_ReadOnly); } if (component->vertexBD.buffer) -- cgit v1.2.3