From: Brian Date: Tue, 27 Mar 2007 15:52:53 +0000 (-0600) Subject: add parenthesis around a bit-wise AND term in _tnl_InvalidateState() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff65fa39e81114fd54c94cb8be235342911c185e;p=mesa.git add parenthesis around a bit-wise AND term in _tnl_InvalidateState() --- diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c index b7c2c6f9bdb..f2828321d8e 100644 --- a/src/mesa/tnl/t_context.c +++ b/src/mesa/tnl/t_context.c @@ -140,7 +140,7 @@ _tnl_InvalidateState( GLcontext *ctx, GLuint new_state ) if (ctx->Fog.Enabled || (ctx->FragmentProgram._Active && (ctx->FragmentProgram._Current->FogOption != GL_NONE || - ctx->FragmentProgram._Current->Base.InputsRead & FRAG_BIT_FOGC))) + (ctx->FragmentProgram._Current->Base.InputsRead & FRAG_BIT_FOGC)))) RENDERINPUTS_SET( tnl->render_inputs_bitset, _TNL_ATTRIB_FOG ); if (ctx->Polygon.FrontMode != GL_FILL ||