projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a0cd3a
)
added a SyncHandle() call, remove UnlockDisplay() call. (bug 8521)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 9 Oct 2006 14:57:50 +0000
(14:57 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 9 Oct 2006 14:57:50 +0000
(14:57 +0000)
src/glx/x11/glxext.c
patch
|
blob
|
history
diff --git
a/src/glx/x11/glxext.c
b/src/glx/x11/glxext.c
index f47caae43df20d476815f68a91ab672afdfa01db..057e799f677852eeaf180c8ed730d826219547b7 100644
(file)
--- 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);