diff options
author | Chris Rankin <[email protected]> | 2007-10-29 14:37:32 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2007-10-29 14:37:32 -0400 |
commit | 1421bffb180e2e1a8f0c16f61768805666492ed2 (patch) | |
tree | f1cd6aeb91f7ca9a7390ba7c16c166962be0053d /src/glx/x11/glxcmds.c | |
parent | 3b9e28d507f77e3c32a29de2d2d4d857d5e5309f (diff) |
Remember to call XSync() before resetting X error handler.
Diffstat (limited to 'src/glx/x11/glxcmds.c')
-rw-r--r-- | src/glx/x11/glxcmds.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |