diff options
author | Owain G. Ainsworth <oga@openbsd.org> | 2009-01-11 16:51:02 -0700 |
---|---|---|
committer | Brian <brianp@vmware.com> | 2009-01-11 16:51:02 -0700 |
commit | bb3836b58b4d9af5211070e2ebef415657607195 (patch) | |
tree | 1b7feade2fd1b0ef6857d99ad13d0ee1318c04a8 | |
parent | 8f8f0637488a4d75a5e9dc029b22b1c1656938d7 (diff) |
Fix build with GCC 2.95.
-rw-r--r-- | src/glx/x11/glx_pbuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/x11/glx_pbuffer.c b/src/glx/x11/glx_pbuffer.c index 0f878f223f..37a64f891d 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; |