summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrianp <brianp>2000-04-20 15:08:31 +0000
committerbrianp <brianp>2000-04-20 15:08:31 +0000
commit41bf3d72bc66cb1e996ca091f2cb00e77969de6c (patch)
treec4ee23829471d642c077c244dfa46d023badf4c4
parent1e144b0a7deaf59eed20a319f48070236184f503 (diff)
disabled the code which prevented context sharing from workingglxmisc-1-0-0-20000420
-rw-r--r--xc/programs/Xserver/GL/glx/glxcmds.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xc/programs/Xserver/GL/glx/glxcmds.c b/xc/programs/Xserver/GL/glx/glxcmds.c
index 2504ffa29..6c23fe534 100644
--- a/xc/programs/Xserver/GL/glx/glxcmds.c
+++ b/xc/programs/Xserver/GL/glx/glxcmds.c
@@ -139,8 +139,13 @@ int __glXCreateContext(__GLXclientState *cl, GLbyte *pc)
** NOTE: no support for sharing display lists between direct
** contexts, even if they are in the same address space.
*/
+#if 0
+ /* Disabling this code seems to allow shared display lists
+ * and texture objects to work. We'll leave it disabled for now.
+ */
client->errorValue = shareList;
return BadMatch;
+#endif
} else {
/*
** Create an indirect context regardless of what the client asked