summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_points.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-01-31 19:39:04 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-01-31 19:39:04 +0000
commit6bbcae9473eb29b4621aaa344013ebf3bb59ccf5 (patch)
tree3c7071d781985fd71d742b04dc0ecff2013d7278 /src/mesa/tnl/t_vb_points.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_points.c')
-rw-r--r--src/mesa/tnl/t_vb_points.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_vb_points.c b/src/mesa/tnl/t_vb_points.c
index 9ef98fab22..1990886479 100644
--- a/src/mesa/tnl/t_vb_points.c
+++ b/src/mesa/tnl/t_vb_points.c
@@ -111,10 +111,10 @@ static void free_point_data( struct tnl_pipeline_stage *stage )
const struct tnl_pipeline_stage _tnl_point_attenuation_stage =
{
"point size attenuation", /* name */
- _NEW_POINT, /* build_state_change */
- _NEW_POINT, /* run_state_change */
+ _NEW_POINT|_NEW_PROGRAM, /* check_state */
+ _NEW_POINT, /* run_state */
GL_FALSE, /* active */
- _TNL_BIT_POS, /* inputs */
+ _TNL_BIT_POS, /* inputs */
_TNL_BIT_POS, /* outputs */
0, /* changed_inputs (temporary value) */
NULL, /* stage private data */