mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
ui: Add menubar backend selection
This commit is contained in:
committed by
mborgerson
parent
e5be3f2714
commit
0c5b41d6f7
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user