From c6ec09cd1471fe39fb63ae52ee2cf8ff59da3301 Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Sun, 29 Dec 2024 07:48:26 -0800 Subject: [PATCH] Show video driver in ImGui backend --- backends/ui/imgui/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backends/ui/imgui/main.cpp b/backends/ui/imgui/main.cpp index 81a9b47..eb07f95 100644 --- a/backends/ui/imgui/main.cpp +++ b/backends/ui/imgui/main.cpp @@ -751,6 +751,8 @@ void MainLoop::GuiFunction() { ImGui::SetCursorPosX((ImGui::GetWindowWidth() - ImGui::GetFont()->CalcTextSizeA(ImGui::GetFontSize(), FLT_MAX, 0.0f, VER_STRING.c_str()).x) / 2.0f); ImGui::TextUnformatted(VER_STRING.c_str()); ImGui::NewLine(); + ImGui::Text("SDL video driver: %s", SDL_GetCurrentVideoDriver()); + ImGui::NewLine(); auto &license_data = get_license_data(); // Left static LicenseData selected = *license_data.begin();