summaryrefslogtreecommitdiff
path: root/retrace
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-06-30 15:56:48 +0100
committerJose Fonseca <jfonseca@vmware.com>2016-06-30 17:17:11 +0100
commit59f84150ba10235251415b29f0dffdfe4e02c2b9 (patch)
treeb57618d475f463c71d5b194537dc5a221be47b80 /retrace
parente65887ecef7dac692d850e52d9eb2d603c93a697 (diff)
glretrace: Sync after creating X window.
Otherwise SwiftShader EGL crashes.
Diffstat (limited to 'retrace')
-rw-r--r--retrace/glws_xlib.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/retrace/glws_xlib.cpp b/retrace/glws_xlib.cpp
index 56bb043f..d4ebc5a7 100644
--- a/retrace/glws_xlib.cpp
+++ b/retrace/glws_xlib.cpp
@@ -214,6 +214,8 @@ createWindow(XVisualInfo *visinfo,
display, window, name, name,
None, (char **)NULL, 0, &sizehints);
+ XSync(display, False);
+
return window;
}