summaryrefslogtreecommitdiff
path: root/src/mesa/main/attrib.c
diff options
context:
space:
mode:
authorDaniel Borca <dborca@users.sourceforge.net>2004-11-15 08:03:22 +0000
committerDaniel Borca <dborca@users.sourceforge.net>2004-11-15 08:03:22 +0000
commitfd9b30750a0690a1fd13fcddb9141cdcaa61b117 (patch)
tree14a993a7852749690fc3fd8062623b317bad8e6f /src/mesa/main/attrib.c
parent16e6f057725982731d38fda05effb1baaca96f0a (diff)
use parentheses to avoid warning
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r--src/mesa/main/attrib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index 658b4ba013..5cdf72c4f5 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -1079,7 +1079,7 @@ _mesa_PopAttrib(void)
stencil->ZFailFunc[face],
stencil->ZPassFunc[face]);
face ^= 1;
- } while (face != stencil->ActiveFace ^ 1);
+ } while (face != (stencil->ActiveFace ^ 1));
}
break;
case GL_TRANSFORM_BIT: