summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-05-17 15:25:26 -0600
committerBrian <[email protected]>2007-05-17 15:28:42 -0600
commit7fcf231c57b3f24bc5b4bedc345f43ac6c00cf84 (patch)
treef959795b425cf4b87a70c03800c433e5fa3118f5 /src
parentd834a870e600684382b50d202a2bfc6d98cf6a0b (diff)
In DestroyPbuffer(), use GetReq() intead of GetReqExtra(). See bug 10983.
Diffstat (limited to 'src')
-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 472045e93d8..d13830e4e49 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;