From 1f1f5823044922fe586cf91c909e098a500eb439 Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 27 Mar 2007 10:36:06 -0600 Subject: more parenthesis --- src/mesa/tnl/t_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/tnl') 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++) { -- cgit v1.2.3