From: Brian Date: Tue, 27 Mar 2007 16:36:06 +0000 (-0600) Subject: more parenthesis X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f1f5823044922fe586cf91c909e098a500eb439;p=mesa.git more parenthesis --- diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c index f2828321d8e..255c2bdf90d 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++) {