diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-01-28 10:52:30 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-01-28 10:52:30 -0500 |
| commit | 4c241454f5698de3e6a5be07feb22ce930d63002 (patch) | |
| tree | e13993b18f6f260dbea9c779f77ecd27364b388a /editor | |
| parent | 9702d38dea5e09a2813e54e05f5ebb2c3e746b10 (diff) | |
pke: remove MAX_FRAMES_IN_FLIGHT
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
