summaryrefslogtreecommitdiff
path: root/src/glx/x11/glx_pbuffer.c
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-05-17 15:25:26 -0600
committerBrian <brian@yutani.localnet.net>2007-05-17 15:28:42 -0600
commit7fcf231c57b3f24bc5b4bedc345f43ac6c00cf84 (patch)
treef959795b425cf4b87a70c03800c433e5fa3118f5 /src/glx/x11/glx_pbuffer.c
parentd834a870e600684382b50d202a2bfc6d98cf6a0b (diff)
In DestroyPbuffer(), use GetReq() intead of GetReqExtra(). See bug 10983.
Diffstat (limited to 'src/glx/x11/glx_pbuffer.c')
-rw-r--r--src/glx/x11/glx_pbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/glx_pbuffer.c b/src/glx/x11/glx_pbuffer.c
index 472045e93d..d13830e4e4 100644
--- a/src/glx/x11/glx_pbuffer.c
+++ b/src/glx/x11/glx_pbuffer.c
@@ -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;