aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-12-29 21:49:21 +0000
committermarha <marha@users.sourceforge.net>2010-12-29 21:49:21 +0000
commitbc1de09cc3ddf280c8452989a6b1506f4d61ec4b (patch)
treee24cbd01aaa61918657b6abce22b65383b0cb514 /xorg-server
parent1f4ce3aa7bfada4f9d675577c0efe5845f1fd9af (diff)
downloadvcxsrv-bc1de09cc3ddf280c8452989a6b1506f4d61ec4b.tar.gz
vcxsrv-bc1de09cc3ddf280c8452989a6b1506f4d61ec4b.tar.bz2
vcxsrv-bc1de09cc3ddf280c8452989a6b1506f4d61ec4b.zip
Do not clear currentcontexts in DrawableGone. This is causing jedit not to display when opengl is enabled in java.
Diffstat (limited to 'xorg-server')
-rw-r--r--xorg-server/glx/glxext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/glx/glxext.c b/xorg-server/glx/glxext.c
index af557b91a..958c5b544 100644
--- a/xorg-server/glx/glxext.c
+++ b/xorg-server/glx/glxext.c
@@ -148,7 +148,7 @@ static Bool DrawableGone(__GLXdrawable *glxPriv, XID xid)
c->isCurrent = GL_FALSE;
if (c == __glXLastContext)
__glXFlushContextCache();
-
+/*
for (i = 1; i < currentMaxClients; i++) {
if (clients[i]) {
__GLXclientState *cl = glxGetClient(clients[i]);
@@ -163,6 +163,7 @@ static Bool DrawableGone(__GLXdrawable *glxPriv, XID xid)
}
}
}
+*/
}
if (c->drawPriv == glxPriv)
c->drawPriv = NULL;