summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-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: