summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorJulien Cristau <[email protected]>2011-01-26 04:03:17 -0800
committerBrian Paul <[email protected]>2011-01-31 09:28:55 -0700
commitcbe9fc12a64c3ae89fd1b20e9e165aa4b76293a5 (patch)
tree2620ccc9f48535edf9bce5d584eedf09b3b07fd3 /src/glx
parente27913f805acbb7d00f83ba625a8605576738a13 (diff)
glx: fix length of GLXGetFBConfigsSGIX
The extra length is the size of the request *minus* the size of the VendorPrivate header, not the addition. NOTE: This is a candidate for the 7.9 and 7.10 branches Signed-off-by: Julien Cristau <[email protected]> Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/glxext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxext.c b/src/glx/glxext.c
index c5e9d0510b6..c75c9bfd329 100644
--- a/src/glx/glxext.c
+++ b/src/glx/glxext.c
@@ -688,7 +688,7 @@ static GLboolean
}
else if (strstr(psc->serverGLXexts, "GLX_SGIX_fbconfig") != NULL) {
GetReqExtra(GLXVendorPrivateWithReply,
- sz_xGLXGetFBConfigsSGIXReq +
+ sz_xGLXGetFBConfigsSGIXReq -
sz_xGLXVendorPrivateWithReplyReq, vpreq);
sgi_req = (xGLXGetFBConfigsSGIXReq *) vpreq;
sgi_req->reqType = priv->majorOpcode;