summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vb_light.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_light.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_light.c')
-rw-r--r--src/mesa/tnl/t_vb_light.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_light.c b/src/mesa/tnl/t_vb_light.c
index 3ca25395da4..1d260fafb20 100644
--- a/src/mesa/tnl/t_vb_light.c
+++ b/src/mesa/tnl/t_vb_light.c
@@ -352,7 +352,7 @@ static void dtr( struct tnl_pipeline_stage *stage )
const struct tnl_pipeline_stage _tnl_lighting_stage =
{
"lighting", /* name */
- _NEW_LIGHT, /* recheck */
+ _NEW_LIGHT|_NEW_PROGRAM, /* recheck */
_NEW_LIGHT|_NEW_MODELVIEW, /* recalc -- modelview dependency
* otherwise not captured by inputs
* (which may be _TNL_BIT_POS) */