summaryrefslogtreecommitdiff
path: root/glx/indirect_program.c
diff options
context:
space:
mode:
Diffstat (limited to 'glx/indirect_program.c')
-rw-r--r--glx/indirect_program.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/glx/indirect_program.c b/glx/indirect_program.c
index d503262c2..01562e619 100644
--- a/glx/indirect_program.c
+++ b/glx/indirect_program.c
@@ -56,6 +56,8 @@ DoGetProgramString(struct __GLXclientStateRec *cl, GLbyte * pc,
__GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
ClientPtr client = cl->client;
+ REQUEST_FIXED_SIZE(xGLXVendorPrivateWithReplyReq, 8);
+
pc += __GLX_VENDPRIV_HDR_SIZE;
if (cx != NULL) {
GLenum target;