summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vb_fog.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-01-31 19:39:04 +0000
committerBrian Paul <[email protected]>2004-01-31 19:39:04 +0000
commit6bbcae9473eb29b4621aaa344013ebf3bb59ccf5 (patch)
tree3c7071d781985fd71d742b04dc0ecff2013d7278 /src/mesa/tnl/t_vb_fog.c
parent27ec7a5bf1e2a864ca1b9e78a7af312b08bd04f5 (diff)
added _NEW_PROGRAM to check_state flags for pipeline stages (fixes vparray demo bug)
Diffstat (limited to 'src/mesa/tnl/t_vb_fog.c')
-rw-r--r--src/mesa/tnl/t_vb_fog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_fog.c b/src/mesa/tnl/t_vb_fog.c
index 2ad41f5bbd2..bbbf54baac9 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 */