The extra length is the size of the request *minus* the size of the VendorPrivate header, not the addition.
Signed-off-by: Julien Cristau <[email protected]> --- src/glx/glxext.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/glx/glxext.c b/src/glx/glxext.c index c5e9d05..c75c9bf 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; -- 1.7.2.3 _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
