summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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