Fix ImDebugger bug

This commit is contained in:
Henrik Rydgård committed 2026-08-24 09:53:40 +02:00
1 parent 78ef1eae82
commit 8a26e39792
1 file changed
+3 -4
+3 -4
View File
@@ -1187,15 +1187,14 @@ void ImGeDebuggerWindow::Draw(ImConfig &cfg, ImControl &control, GPUCommon *gpuD
if (ImGui::RepeatButtonShift("Single step", fastRepeatRate)) {
gpuDebug->SetBreakNext(GPUDebug::BreakNext::OP);
}
if (disableStepButtons) {
ImGui::EndDisabled();
}
ImGui::SameLine();
if (ImGui::Button("Cancel step")) {
gpuDebug->ClearBreakNext();
}
if (disableStepButtons) {
ImGui::EndDisabled();
}
ImGui::Text("%d/%d", gpuDebug->PrimsThisFrame(), gpuDebug->PrimsLastFrame());
if (disableStepButtons) {