From 9eef0da109414228bfd2b2c6409bcb948694be0f Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 10 May 2005 11:40:52 +0000 Subject: Update for FragmentProgram._Active --- src/mesa/tnl/t_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/tnl') diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c index 5e8b2324dc8..48119d2d58e 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 || -- cgit v1.2.3