From 6bbcae9473eb29b4621aaa344013ebf3bb59ccf5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 31 Jan 2004 19:39:04 +0000 Subject: added _NEW_PROGRAM to check_state flags for pipeline stages (fixes vparray demo bug) --- src/mesa/tnl/t_vb_fog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/tnl/t_vb_fog.c') diff --git a/src/mesa/tnl/t_vb_fog.c b/src/mesa/tnl/t_vb_fog.c index 2ad41f5..bbbf54b 100644 --- a/src/mesa/tnl/t_vb_fog.c +++ b/src/mesa/tnl/t_vb_fog.c @@ -241,7 +241,7 @@ static void free_fog_data( struct tnl_pipeline_stage *stage ) const struct tnl_pipeline_stage _tnl_fog_coordinate_stage = { "build fog coordinates", /* name */ - _NEW_FOG, /* check_state */ + _NEW_FOG|_NEW_PROGRAM, /* check_state */ _NEW_FOG, /* run_state */ GL_FALSE, /* active? */ 0, /* inputs */ -- cgit v1.1