Hi,

Recently, World of Warcraft has been crashing for me in OpenGL mode with an 
X-protocol error.
Basically, an attempt to create a GLX context was returning an error from a 
previous attempt to
destroy one. The following patch fixes the problem for me:

Cheers,
Chris

diff --git a/src/glx/x11/glxcmds.c b/src/glx/x11/glxcmds.c
index 707e398..9bdef98 100644
--- a/src/glx/x11/glxcmds.c
+++ b/src/glx/x11/glxcmds.c
@@ -105,6 +105,7 @@ static void GarbageCollectDRIDrawables(Display *dpy, __GLXsc
            }
        } while (__glxHashNext(sc->drawHash, &draw, (void *)&pdraw) == 1);
     }
+    XSync(dpy, GL_FALSE);
 
     XSetErrorHandler(oldXErrorHandler);
 }



      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to