mirror of https://github.com/xemu-project/xemu.git
ui: Add menubar backend selection
This commit is contained in:
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"
|
||||
|
|
Loading…
Reference in New Issue