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_light.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/tnl/t_vb_light.c') 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) */ -- cgit v1.2.3