From 58be63135322bf6f8adfcb34df8f23f0c19c8250 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 24 Jan 2024 00:29:02 +0000 Subject: [PATCH] u/debug_gui: Do not call gui_prober_update in runtime debug gui The calling of this function is only needed for the debug gui used in monado-gui target, not the one built into the runtime. This better simulates drivers not getting called while no apps are connected. Part-of: --- src/xrt/auxiliary/util/u_debug_gui.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/xrt/auxiliary/util/u_debug_gui.c b/src/xrt/auxiliary/util/u_debug_gui.c index ce3a17f6c..156679d4d 100644 --- a/src/xrt/auxiliary/util/u_debug_gui.c +++ b/src/xrt/auxiliary/util/u_debug_gui.c @@ -289,9 +289,6 @@ sdl2_loop(struct u_debug_gui *p) XRT_TRACE_BEGIN(swap); SDL_GL_SwapWindow(p->win); XRT_TRACE_END(swap); - - // Update prober things. - gui_prober_update(&p->base); } // Cleanup -- 2.51.2