summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-05-10 11:40:52 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-05-10 11:40:52 +0000
commit9eef0da109414228bfd2b2c6409bcb948694be0f (patch)
tree0ae5d46da0a167055b1ab46ab4637cda9bd5ebc1
parent8b88f62fbd62153500fc3483003f438561366a00 (diff)
Update for FragmentProgram._Active
-rw-r--r--src/mesa/tnl/t_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c
index 5e8b2324dc..48119d2d58 100644
--- a/src/mesa/tnl/t_context.c
+++ b/src/mesa/tnl/t_context.c
@@ -176,8 +176,8 @@ _tnl_InvalidateState( GLcontext *ctx, GLuint new_state )
}
if (ctx->Fog.Enabled ||
- (ctx->FragmentProgram.Enabled &&
- ctx->FragmentProgram.Current->FogOption != GL_NONE))
+ (ctx->FragmentProgram._Active &&
+ ctx->FragmentProgram._Current->FogOption != GL_NONE))
tnl->render_inputs |= _TNL_BIT_FOG;
if (ctx->Polygon.FrontMode != GL_FILL ||