GUI: vendor/device name for render backends

This commit is contained in:
tildearrow 2024-04-08 03:02:08 -05:00
parent 2020aba481
commit 484f6570aa
16 changed files with 326 additions and 8 deletions

View file

@ -456,6 +456,8 @@ void FurnaceGUI::drawSettings() {
}
}
ImGui::TextWrapped("current backend: %s\n%s\n%s\n%s",rend->getBackendName(),rend->getVendorName(),rend->getDeviceName(),rend->getAPIVersion());
bool vsyncB=settings.vsync;
if (ImGui::Checkbox("VSync",&vsyncB)) {
settings.vsync=vsyncB;