summaryrefslogtreecommitdiff
path: root/glx/glxext.c
diff options
context:
space:
mode:
Diffstat (limited to 'glx/glxext.c')
-rw-r--r--glx/glxext.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/glx/glxext.c b/glx/glxext.c
index 316b4f6e8..f93642b0c 100644
--- a/glx/glxext.c
+++ b/glx/glxext.c
@@ -140,6 +140,7 @@ DrawableGone(__GLXdrawable * glxPriv, XID xid)
if (c->currentClient &&
(c->drawPriv == glxPriv || c->readPriv == glxPriv)) {
/* just force a re-bind the next time through */
+ FlushContext(c);
(*c->loseCurrent) (c);
if (c == __glXLastContext)
__glXFlushContextCache();