From c1cafacf223b240b6ad0c2d0aad6f96845bf53e5 Mon Sep 17 00:00:00 2001 From: Dario Date: Sun, 22 Dec 2024 18:23:14 -0300 Subject: [PATCH] Add video driver to debugger panel. --- UnleashedRecomp/gpu/video.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UnleashedRecomp/gpu/video.cpp b/UnleashedRecomp/gpu/video.cpp index 69a5d99..e8a39e9 100644 --- a/UnleashedRecomp/gpu/video.cpp +++ b/UnleashedRecomp/gpu/video.cpp @@ -1974,6 +1974,10 @@ static void DrawProfiler() auto capabilities = g_device->getCapabilities(); ImGui::Text("Present Wait: %s", capabilities.presentWait ? "Supported" : "Unsupported"); ImGui::Text("Triangle Fan: %s", capabilities.triangleFan ? "Supported" : "Unsupported"); + + const char* sdlVideoDriver = SDL_GetCurrentVideoDriver(); + if (sdlVideoDriver != nullptr) + ImGui::Text("SDL Video Driver: %s", sdlVideoDriver); } ImGui::End();