summaryrefslogtreecommitdiff
path: root/hw/dmx/dmxinit.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-06-04 16:58:31 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-06-05 16:14:18 +0930
commit5c5e58124581b845a6bfa7a2991a4e0ee7f7ebdb (patch)
tree1fb0453f2ed6b67f11be7ff2b706cc01d20728e9 /hw/dmx/dmxinit.c
parent246c10441bbf62646b77993b55233d5ceb93a81f (diff)
dmx: add an XFlush.
Beats me why we need it, but without it we get segfaults lateron.
Diffstat (limited to 'hw/dmx/dmxinit.c')
-rw-r--r--hw/dmx/dmxinit.c2
1 files changed, 2 insertions, 0 deletions
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 */