diff options
author | marha <marha@users.sourceforge.net> | 2010-12-29 21:49:21 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-12-29 21:49:21 +0000 |
commit | bc1de09cc3ddf280c8452989a6b1506f4d61ec4b (patch) | |
tree | e24cbd01aaa61918657b6abce22b65383b0cb514 /xorg-server/glx | |
parent | 1f4ce3aa7bfada4f9d675577c0efe5845f1fd9af (diff) | |
download | vcxsrv-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/glx')
-rw-r--r-- | xorg-server/glx/glxext.c | 3 |
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;
|