diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-01-06 20:39:03 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-01-06 20:39:03 +0000 |
commit | 571a1ac6eead573777b990b31fce16987d894adb (patch) | |
tree | 2b78e180aaca1ad39c71f2397da346520678cc12 /src/mesa/swrast_setup | |
parent | 363049160da54f4aafe88f99bb2140a9bfed142b (diff) |
implemented vertex program point size control
Diffstat (limited to 'src/mesa/swrast_setup')
-rw-r--r-- | src/mesa/swrast_setup/ss_vb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/swrast_setup/ss_vb.c b/src/mesa/swrast_setup/ss_vb.c index d77f5f1e19..f071216801 100644 --- a/src/mesa/swrast_setup/ss_vb.c +++ b/src/mesa/swrast_setup/ss_vb.c @@ -1,4 +1,4 @@ -/* $Id: ss_vb.c,v 1.14 2001/07/17 19:39:32 keithw Exp $ */ +/* $Id: ss_vb.c,v 1.15 2002/01/06 20:39:03 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -398,7 +398,8 @@ _swsetup_choose_rastersetup_func(GLcontext *ctx) funcindex = INDEX; } - if (ctx->Point._Attenuated) + if (ctx->Point._Attenuated || + (ctx->VertexProgram.Enabled && ctx->VertexProgram.PointSizeEnabled)) funcindex |= POINT; if (ctx->Fog.Enabled) |