ui: Add menubar backend selection

This commit is contained in:
Matt Borgerson
2024-12-31 01:37:05 -07:00
committed by mborgerson
parent e5be3f2714
commit 0c5b41d6f7
+9
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"