From d3b257374ef1c367de0e2a38924021818b19a37e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 9 Oct 2006 14:57:50 +0000 Subject: added a SyncHandle() call, remove UnlockDisplay() call. (bug 8521) --- src/glx/x11/glxext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3