diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-09 14:57:50 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-09 14:57:50 +0000 |
commit | d3b257374ef1c367de0e2a38924021818b19a37e (patch) | |
tree | ab371dd8f02155fa31552f94245881f545305f48 /src/glx/x11 | |
parent | 0a0cd3a8ae32fcdfd058969ae288449bbc87ca60 (diff) | |
download | external_mesa3d-d3b257374ef1c367de0e2a38924021818b19a37e.zip external_mesa3d-d3b257374ef1c367de0e2a38924021818b19a37e.tar.gz external_mesa3d-d3b257374ef1c367de0e2a38924021818b19a37e.tar.bz2 |
added a SyncHandle() call, remove UnlockDisplay() call. (bug 8521)
Diffstat (limited to 'src/glx/x11')
-rw-r--r-- | src/glx/x11/glxext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index f47caae..057e799 100644 --- a/src/glx/x11/glxext.c +++ b/src/glx/x11/glxext.c @@ -1016,11 +1016,11 @@ static Bool AllocAndFetchScreenConfigs(Display *dpy, __GLXdisplayPrivate *priv) if (!_XReply(dpy, (xReply*) &reply, 0, False)) { /* Something is busted. Punt. */ UnlockDisplay(dpy); + SyncHandle(); FreeScreenConfigs(priv); return GL_FALSE; } - UnlockDisplay(dpy); if (!reply.numVisuals) { /* This screen does not support GL rendering */ UnlockDisplay(dpy); |