diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2016-06-30 15:56:48 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2016-06-30 17:17:11 +0100 |
commit | 59f84150ba10235251415b29f0dffdfe4e02c2b9 (patch) | |
tree | b57618d475f463c71d5b194537dc5a221be47b80 /retrace | |
parent | e65887ecef7dac692d850e52d9eb2d603c93a697 (diff) |
glretrace: Sync after creating X window.
Otherwise SwiftShader EGL crashes.
Diffstat (limited to 'retrace')
-rw-r--r-- | retrace/glws_xlib.cpp | 2 |
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; } |