summaryrefslogtreecommitdiff
path: root/src/glx
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-10-09 14:57:50 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-10-09 14:57:50 +0000
commitd3b257374ef1c367de0e2a38924021818b19a37e (patch)
treeab371dd8f02155fa31552f94245881f545305f48 /src/glx
parent0a0cd3a8ae32fcdfd058969ae288449bbc87ca60 (diff)
added a SyncHandle() call, remove UnlockDisplay() call. (bug 8521)
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/x11/glxext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index f47caae43df..057e799f677 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);