Add video driver to debugger panel.

This commit is contained in:
Dario 2024-12-22 18:23:14 -03:00
parent 02022c3a1d
commit c1cafacf22

View file

@ -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();