aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Rankin <[email protected]>2007-10-29 14:37:32 -0400
committerKristian Høgsberg <[email protected]>2007-10-29 14:37:32 -0400
commit1421bffb180e2e1a8f0c16f61768805666492ed2 (patch)
treef1cd6aeb91f7ca9a7390ba7c16c166962be0053d
parent3b9e28d507f77e3c32a29de2d2d4d857d5e5309f (diff)
Remember to call XSync() before resetting X error handler.
-rw-r--r--src/glx/x11/glxcmds.c1
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);
}