From 5c5e58124581b845a6bfa7a2991a4e0ee7f7ebdb Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 4 Jun 2008 16:58:31 +0930 Subject: [PATCH] dmx: add an XFlush. Beats me why we need it, but without it we get segfaults lateron. --- hw/dmx/dmxinit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/dmx/dmxinit.c b/hw/dmx/dmxinit.c index 6d466c450..760fccf72 100644 --- a/hw/dmx/dmxinit.c +++ b/hw/dmx/dmxinit.c @@ -778,6 +778,8 @@ void InitOutput(ScreenInfo *pScreenInfo, int argc, char *argv[]) /* Hand out the glx configs to glx extension */ GlxSetVisualConfigs(nconfigs, configs, (void**)configprivs); + + XFlush(dmxScreen->beDisplay); } } #endif /* GLXEXT */