mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
Add video driver to debugger panel.
This commit is contained in:
parent
02022c3a1d
commit
c1cafacf22
1 changed files with 4 additions and 0 deletions
|
|
@ -1974,6 +1974,10 @@ static void DrawProfiler()
|
||||||
auto capabilities = g_device->getCapabilities();
|
auto capabilities = g_device->getCapabilities();
|
||||||
ImGui::Text("Present Wait: %s", capabilities.presentWait ? "Supported" : "Unsupported");
|
ImGui::Text("Present Wait: %s", capabilities.presentWait ? "Supported" : "Unsupported");
|
||||||
ImGui::Text("Triangle Fan: %s", capabilities.triangleFan ? "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();
|
ImGui::End();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue