···10271027void
10281028gui_scene_debug(struct gui_program *p)
10291029{
10301030- // Only create devices if we have a instance and no system devices.
10311031- if (p->instance != NULL && p->xsysd == NULL) {
10321032- gui_prober_select(p);
10331033- }
10341034-10351030 struct debug_scene *ds = U_TYPED_CALLOC(struct debug_scene);
1036103110371032 ds->base.render = scene_render;
+8-1
src/xrt/targets/gui/gui_sdl2_main.c
···39394040 // First scene to start with.
4141 if (argc >= 2 && strcmp("debug", argv[1]) == 0) {
4242- // We have created a prober select devices now.
4242+ /*
4343+ * We have created a prober select devices now, only create
4444+ * devices if we have a instance and no system devices.
4545+ */
4646+ if (p.base.instance != NULL && p.base.xsysd == NULL) {
4747+ gui_prober_select(&p.base);
4848+ }
4949+4350 gui_scene_debug(&p.base);
4451 } else if (argc >= 2 && strcmp("calibrate", argv[1]) == 0) {
4552 gui_scene_select_video_calibrate(&p.base);