summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-01-28 10:52:30 -0500
committerJonathan Bradley <jcb@pikum.xyz>2025-01-28 10:52:30 -0500
commit4c241454f5698de3e6a5be07feb22ce930d63002 (patch)
treee13993b18f6f260dbea9c779f77ecd27364b388a /editor
parent9702d38dea5e09a2813e54e05f5ebb2c3e746b10 (diff)
pke: remove MAX_FRAMES_IN_FLIGHT
Diffstat (limited to 'editor')
-rw-r--r--editor/editor.cpp2
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)