Run the imgui processing early in the frame, only do the rendering late

This commit is contained in:
Henrik Rydgård committed 2024-12-15 00:17:26 +01:00
1 parent 2fe5642156
commit 15b63aa812
3 files changed
+18 -1

No files matched your search

+3
View File
@@ -65,6 +65,9 @@ void ShowInWindowMenuItems(uint32_t addr, ImControl &control) {
}
void StatusBar(std::string_view status) {
if (!status.size()) {
return;
}
ImGui::TextUnformatted(status.data(), status.data() + status.length());
ImGui::SameLine();
if (ImGui::SmallButton("Copy")) {