summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vb_points.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-01-06 20:39:03 +0000
committerBrian Paul <[email protected]>2002-01-06 20:39:03 +0000
commit571a1ac6eead573777b990b31fce16987d894adb (patch)
tree2b78e180aaca1ad39c71f2397da346520678cc12 /src/mesa/tnl/t_vb_points.c
parent363049160da54f4aafe88f99bb2140a9bfed142b (diff)
implemented vertex program point size control
Diffstat (limited to 'src/mesa/tnl/t_vb_points.c')
-rw-r--r--src/mesa/tnl/t_vb_points.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vb_points.c b/src/mesa/tnl/t_vb_points.c
index 429a0ab7cb4..a6757a8bf0b 100644
--- a/src/mesa/tnl/t_vb_points.c
+++ b/src/mesa/tnl/t_vb_points.c
@@ -1,4 +1,4 @@
-/* $Id: t_vb_points.c,v 1.6 2002/01/06 03:54:12 brianp Exp $ */
+/* $Id: t_vb_points.c,v 1.7 2002/01/06 20:39:19 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -76,7 +76,7 @@ static GLboolean run_point_stage( GLcontext *ctx,
*/
static void check_point_size( GLcontext *ctx, struct gl_pipeline_stage *d )
{
- d->active = ctx->Point._Attenuated;
+ d->active = ctx->Point._Attenuated && !ctx->VertexProgram.Enabled;
}
static GLboolean alloc_point_data( GLcontext *ctx,