summaryrefslogtreecommitdiff
path: root/src/glx
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2006-08-30 23:15:02 +0000
committerIan Romanick <idr@us.ibm.com>2006-08-30 23:15:02 +0000
commita70d56485a2d0f15ee5b660e8931eb8657535e2d (patch)
tree496dbc85efc2508c02bf83c7cd9f8245c59025fd /src/glx
parentc7f571eb7e44da65950054fa75f599453bceca0c (diff)
Add missing parenthesis so that glXSwapIntervalSGI protocol is
correctly generated.
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/x11/glxcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/glxcmds.c b/src/glx/x11/glxcmds.c
index e7c1f4f03b..9d1bb2a0b5 100644
--- a/src/glx/x11/glxcmds.c
+++ b/src/glx/x11/glxcmds.c
@@ -1700,7 +1700,7 @@ static int __glXSwapIntervalSGI(int interval)
req->vendorCode = X_GLXvop_SwapIntervalSGI;
req->contextTag = gc->currentContextTag;
- interval_ptr = (CARD32 *) req + 1;
+ interval_ptr = (CARD32 *) (req + 1);
*interval_ptr = interval;
UnlockDisplay(dpy);