In DestroyPbuffer(), use GetReq() intead of GetReqExtra(). See bug 10983.
authorBrian <brian@yutani.localnet.net>
Thu, 17 May 2007 21:25:26 +0000 (15:25 -0600)
committerBrian <brian@yutani.localnet.net>
Thu, 17 May 2007 21:28:42 +0000 (15:28 -0600)
src/glx/x11/glx_pbuffer.c

index 472045e93d812d5f41056a89ec9296da2c05076f..d13830e4e49a22091a14c89a5ec003d7f7e9afc0 100644 (file)
@@ -150,7 +150,7 @@ DestroyPbuffer( Display * dpy, GLXDrawable drawable )
    if ( (priv->majorVersion > 1) || (priv->minorVersion >= 3) ) {
       xGLXDestroyPbufferReq * req;
 
-      GetReqExtra( GLXDestroyPbuffer, 4, req );
+      GetReq( GLXDestroyPbuffer, req );
       req->reqType = opcode;
       req->glxCode = X_GLXDestroyPbuffer;
       req->pbuffer = (GLXPbuffer) drawable;