[PATCH 02/11] glx: Don't track GLClientmajorVersion or GLClientminorVersion
Ian Romanick
idr at freedesktop.org
Fri Dec 23 15:18:20 PST 2011
From: Ian Romanick <ian.d.romanick at intel.com>
Nothing uses these fields anywhere in the server.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
glx/glxcmds.c | 2 --
glx/glxext.c | 2 --
glx/glxserver.h | 2 --
3 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/glx/glxcmds.c b/glx/glxcmds.c
index c5de60d..e9f6e12 100644
--- a/glx/glxcmds.c
+++ b/glx/glxcmds.c
@@ -2325,8 +2325,6 @@ int __glXDisp_ClientInfo(__GLXclientState *cl, GLbyte *pc)
if (!memchr(buf, 0, (client->req_len << 2) - sizeof(xGLXClientInfoReq)))
return BadLength;
- cl->GLClientmajorVersion = req->major;
- cl->GLClientminorVersion = req->minor;
free(cl->GLClientextensions);
cl->GLClientextensions = strdup(buf);
diff --git a/glx/glxext.c b/glx/glxext.c
index 9cfc096..f8fe43b 100644
--- a/glx/glxext.c
+++ b/glx/glxext.c
@@ -269,8 +269,6 @@ glxClientCallback (CallbackListPtr *list,
** By default, assume that the client supports
** GLX major version 1 minor version 0 protocol.
*/
- cl->GLClientmajorVersion = 1;
- cl->GLClientminorVersion = 0;
cl->client = pClient;
break;
diff --git a/glx/glxserver.h b/glx/glxserver.h
index 6bcf7d3..d81bbdc 100644
--- a/glx/glxserver.h
+++ b/glx/glxserver.h
@@ -145,8 +145,6 @@ struct __GLXclientStateRec {
/* Back pointer to X client record */
ClientPtr client;
- int GLClientmajorVersion;
- int GLClientminorVersion;
char *GLClientextensions;
};
--
1.7.6.4
More information about the xorg-devel
mailing list