diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2011-12-02 21:14:46 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2012-05-23 13:07:51 -0700 |
commit | 62f06b0dcde13cb87bc3d0c5ff86d8db7e3ff0ef (patch) | |
tree | 740ce58632fb1138befc9ae652572eeec9f96571 /glx | |
parent | 724176a87afdb9a79ce6307214bc2e869530aef3 (diff) |
glx: Don't track GLClientmajorVersion or GLClientminorVersion
Nothing uses these fields anywhere in the server.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Diffstat (limited to 'glx')
-rw-r--r-- | glx/glxcmds.c | 2 | ||||
-rw-r--r-- | glx/glxext.c | 2 | ||||
-rw-r--r-- | glx/glxserver.h | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/glx/glxcmds.c b/glx/glxcmds.c index 6fa10fe66..5c70afabe 100644 --- a/glx/glxcmds.c +++ b/glx/glxcmds.c @@ -2396,8 +2396,6 @@ __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 acd696ef0..599f02931 100644 --- a/glx/glxext.c +++ b/glx/glxext.c @@ -281,8 +281,6 @@ glxClientCallback(CallbackListPtr *list, pointer closure, pointer data) ** 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 707684842..87c94d9ec 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; }; |