Move DebugOverlay rendering to the overlay screen, allowing drawing it on top of the menu

This commit is contained in:
Henrik Rydgård committed 2023-08-03 16:19:18 +02:00
1 parent 8ef781faff
commit a32249a3cf
15 files changed
+50 -27

No files matched your search

+1 -1
View File
@@ -776,7 +776,7 @@ void SystemInfoScreen::CreateTabs() {
if (mode == vk->GetPresentMode()) {
str += std::string(" (") + di->T("Current") + ")";
}
presentModes->Add(new TextView(VulkanPresentModeToString(mode), new LayoutParams(FILL_PARENT, WRAP_CONTENT)))->SetFocusable(true);
presentModes->Add(new TextView(str, new LayoutParams(FILL_PARENT, WRAP_CONTENT)))->SetFocusable(true);
}
CollapsibleSection *colorFormats = gpuExtensions->Add(new CollapsibleSection(si->T("Display Color Formats")));