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>
This commit is contained in:
parent
724176a87a
commit
62f06b0dcd
|
@ -2396,8 +2396,6 @@ __glXDisp_ClientInfo(__GLXclientState * cl, GLbyte * pc)
|
||||||
if (!memchr(buf, 0, (client->req_len << 2) - sizeof(xGLXClientInfoReq)))
|
if (!memchr(buf, 0, (client->req_len << 2) - sizeof(xGLXClientInfoReq)))
|
||||||
return BadLength;
|
return BadLength;
|
||||||
|
|
||||||
cl->GLClientmajorVersion = req->major;
|
|
||||||
cl->GLClientminorVersion = req->minor;
|
|
||||||
free(cl->GLClientextensions);
|
free(cl->GLClientextensions);
|
||||||
cl->GLClientextensions = strdup(buf);
|
cl->GLClientextensions = strdup(buf);
|
||||||
|
|
||||||
|
|
|
@ -281,8 +281,6 @@ glxClientCallback(CallbackListPtr *list, pointer closure, pointer data)
|
||||||
** By default, assume that the client supports
|
** By default, assume that the client supports
|
||||||
** GLX major version 1 minor version 0 protocol.
|
** GLX major version 1 minor version 0 protocol.
|
||||||
*/
|
*/
|
||||||
cl->GLClientmajorVersion = 1;
|
|
||||||
cl->GLClientminorVersion = 0;
|
|
||||||
cl->client = pClient;
|
cl->client = pClient;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -145,8 +145,6 @@ struct __GLXclientStateRec {
|
||||||
/* Back pointer to X client record */
|
/* Back pointer to X client record */
|
||||||
ClientPtr client;
|
ClientPtr client;
|
||||||
|
|
||||||
int GLClientmajorVersion;
|
|
||||||
int GLClientminorVersion;
|
|
||||||
char *GLClientextensions;
|
char *GLClientextensions;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user