projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
297a960
)
Fix build with GCC 2.95.
author
Owain G. Ainsworth
<oga@openbsd.org>
Sun, 11 Jan 2009 20:40:07 +0000
(20:40 +0000)
committer
Brian
<brianp@vmware.com>
Sun, 11 Jan 2009 23:44:40 +0000
(16:44 -0700)
src/glx/x11/glx_pbuffer.c
patch
|
blob
|
history
diff --git
a/src/glx/x11/glx_pbuffer.c
b/src/glx/x11/glx_pbuffer.c
index c63d53439d54a0ac80766f2b6b36ed092719e7e7..a602cd288176cf9535f513da56924895cdc49d8d 100644
(file)
--- 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;