summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-03-18 17:48:51 -0400
committerAdam Jackson <ajax@redhat.com>2011-03-28 12:46:38 -0400
commit501506cf9df3d81556d44d074d8321fe6c171576 (patch)
tree660285ea50a9eaad471e3ba0f0dc03e49e732d77
parent10317682e2fbb95f1d4caa1bdbbb8116272c0f86 (diff)
glx: dead variable removal
Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--glx/glxext.c8
-rw-r--r--glx/glxserver.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/glx/glxext.c b/glx/glxext.c
index e083c6cf8..db767f753 100644
--- a/glx/glxext.c
+++ b/glx/glxext.c
@@ -50,7 +50,6 @@
** from the server's perspective.
*/
__GLXcontext *__glXLastContext;
-__GLXcontext *__glXContextList;
/*
** X resources.
@@ -67,11 +66,6 @@ static DevPrivateKeyRec glxClientPrivateKeyRec;
#define glxClientPrivateKey (&glxClientPrivateKeyRec)
/*
-** Client that called into GLX dispatch.
-*/
-ClientPtr __pGlxClient;
-
-/*
** Forward declarations.
*/
static int __glXDispatch(ClientPtr);
@@ -547,8 +541,6 @@ static int __glXDispatch(ClientPtr client)
GLboolean rendering = opcode <= X_GLXRenderLarge;
__glXleaveServer(rendering);
- __pGlxClient = client;
-
retval = (*proc)(cl, (GLbyte *) stuff);
__glXenterServer(rendering);
diff --git a/glx/glxserver.h b/glx/glxserver.h
index e95112606..891315b74 100644
--- a/glx/glxserver.h
+++ b/glx/glxserver.h
@@ -96,8 +96,6 @@ void __glXScreenInitVisuals(__GLXscreen *screen);
extern __GLXcontext *__glXLastContext;
extern __GLXcontext *__glXForceCurrent(__GLXclientState*, GLXContextTag, int*);
-extern ClientPtr __pGlxClient;
-
int __glXError(int error);
/************************************************************************/