summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-03-27 10:36:06 -0600
committerBrian <brian@yutani.localnet.net>2007-03-27 16:06:47 -0600
commit1f1f5823044922fe586cf91c909e098a500eb439 (patch)
tree48a55cdb354a5a44fe03c969b11deefbadf5db8f
parent811c2e9a91dfc94ec582849bfaa86d7932ac848c (diff)
more parenthesis
-rw-r--r--src/mesa/tnl/t_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c
index f2828321d8..255c2bdf90 100644
--- a/src/mesa/tnl/t_context.c
+++ b/src/mesa/tnl/t_context.c
@@ -120,7 +120,7 @@ _tnl_InvalidateState( GLcontext *ctx, GLuint new_state )
RENDERINPUTS_ZERO( tnl->render_inputs_bitset );
RENDERINPUTS_SET( tnl->render_inputs_bitset, _TNL_ATTRIB_POS );
- if (!fp || fp->Base.InputsRead & FRAG_BIT_COL0) {
+ if (!fp || (fp->Base.InputsRead & FRAG_BIT_COL0)) {
RENDERINPUTS_SET( tnl->render_inputs_bitset, _TNL_ATTRIB_COLOR0 );
}
for (i = 0; i < ctx->Const.MaxTextureCoordUnits; i++) {