ui: Add menubar backend selection

This commit is contained in:
Matt Borgerson 2024-08-02 12:49:59 -07:00 committed by mborgerson
parent e5be3f2714
commit 0c5b41d6f7
1 changed files with 9 additions and 0 deletions

View File

@ -168,6 +168,15 @@ void ShowMainMenu()
g_config.display.ui.scale = ui_scale_idx;
}
}
ImGui::Combo("Backend", &g_config.display.renderer,
"Null\0"
"OpenGL\0"
#ifdef CONFIG_VULKAN
"Vulkan\0"
#endif
);
int rendering_scale = nv2a_get_surface_scale_factor() - 1;
if (ImGui::Combo("Int. Resolution Scale", &rendering_scale,
"1x\0"