Skip to content

Commit 0c5b41d

Browse files
committed
ui: Add menubar backend selection
1 parent e5be3f2 commit 0c5b41d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ui/xui/menubar.cc

+9
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,15 @@ void ShowMainMenu()
168168
g_config.display.ui.scale = ui_scale_idx;
169169
}
170170
}
171+
172+
ImGui::Combo("Backend", &g_config.display.renderer,
173+
"Null\0"
174+
"OpenGL\0"
175+
#ifdef CONFIG_VULKAN
176+
"Vulkan\0"
177+
#endif
178+
);
179+
171180
int rendering_scale = nv2a_get_surface_scale_factor() - 1;
172181
if (ImGui::Combo("Int. Resolution Scale", &rendering_scale,
173182
"1x\0"

0 commit comments

Comments
 (0)