From: Chris Rankin Date: Mon, 29 Oct 2007 18:37:32 +0000 (-0400) Subject: Remember to call XSync() before resetting X error handler. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1421bffb180e2e1a8f0c16f61768805666492ed2;p=mesa.git Remember to call XSync() before resetting X error handler. --- diff --git a/src/glx/x11/glxcmds.c b/src/glx/x11/glxcmds.c index 707e398d1d6..1497c6b30eb 100644 --- a/src/glx/x11/glxcmds.c +++ b/src/glx/x11/glxcmds.c @@ -106,6 +106,7 @@ static void GarbageCollectDRIDrawables(Display *dpy, __GLXscreenConfigs *sc) } while (__glxHashNext(sc->drawHash, &draw, (void *)&pdraw) == 1); } + XSync(dpy, GL_FALSE); XSetErrorHandler(oldXErrorHandler); }