summaryrefslogtreecommitdiff
path: root/src/glx/x11
diff options
context:
space:
mode:
authorOwain G. Ainsworth <oga@openbsd.org>2009-01-11 20:40:07 +0000
committerBrian <brianp@vmware.com>2009-01-11 16:44:40 -0700
commitb4866f8a5229d4769a49b4c54a1675a61497d206 (patch)
tree3d5e1f2bc36a1461a0576d5606ec15f6517d9a93 /src/glx/x11
parent297a9606ead4400a60a1b5106327c226db4b3474 (diff)
Fix build with GCC 2.95.
Diffstat (limited to 'src/glx/x11')
-rw-r--r--src/glx/x11/glx_pbuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/x11/glx_pbuffer.c b/src/glx/x11/glx_pbuffer.c
index c63d53439d..a602cd2881 100644
--- a/src/glx/x11/glx_pbuffer.c
+++ b/src/glx/x11/glx_pbuffer.c
@@ -220,14 +220,14 @@ GetDrawableAttribute(Display * dpy, GLXDrawable drawable,
unsigned int length;
unsigned int i;
unsigned int num_attributes;
+ GLboolean use_glx_1_3;
if ((dpy == NULL) || (drawable == 0)) {
return 0;
}
priv = __glXInitialize(dpy);
- GLboolean use_glx_1_3 = ((priv->majorVersion > 1)
- || (priv->minorVersion >= 3));
+ use_glx_1_3 = ((priv->majorVersion > 1) || (priv->minorVersion >= 3));
*value = 0;