summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/attrib.c
diff options
context:
space:
mode:
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 658b4ba013d..5cdf72c4f56 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: