summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorBrian <brian@nostromo.localnet.net>2007-03-27 09:52:53 -0600
committerBrian <brian@nostromo.localnet.net>2007-03-27 09:52:53 -0600
commitff65fa39e81114fd54c94cb8be235342911c185e (patch)
treed7d827754aaab0cdc1161cae275add1b5f9abcb9 /src/mesa/tnl
parent3e45db67294faaf0a06c42bdd6dbdb96f87c8801 (diff)
add parenthesis around a bit-wise AND term in _tnl_InvalidateState()
Diffstat (limited to 'src/mesa/tnl')
-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 b7c2c6f9bd..f2828321d8 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 ||