diff options
author | Brian Paul <[email protected]> | 2002-01-06 20:39:03 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-01-06 20:39:03 +0000 |
commit | 571a1ac6eead573777b990b31fce16987d894adb (patch) | |
tree | 2b78e180aaca1ad39c71f2397da346520678cc12 /src/mesa/swrast | |
parent | 363049160da54f4aafe88f99bb2140a9bfed142b (diff) |
implemented vertex program point size control
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r-- | src/mesa/swrast/s_points.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_points.c b/src/mesa/swrast/s_points.c index 0c3b4d0f084..d2b9a24c4f8 100644 --- a/src/mesa/swrast/s_points.c +++ b/src/mesa/swrast/s_points.c @@ -1,4 +1,4 @@ -/* $Id: s_points.c,v 1.15 2001/03/12 00:48:42 gareth Exp $ */ +/* $Id: s_points.c,v 1.16 2002/01/06 20:39:19 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -212,7 +212,7 @@ _swrast_choose_point( GLcontext *ctx ) else if (ctx->Point.SmoothFlag) { /* Smooth points */ if (rgbMode) { - if (ctx->Point._Attenuated) { + if (ctx->Point._Attenuated || ctx->VertexProgram.PointSizeEnabled) { USE(atten_antialiased_rgba_point); } else if (ctx->Texture._ReallyEnabled) { @@ -226,7 +226,7 @@ _swrast_choose_point( GLcontext *ctx ) USE(antialiased_ci_point); } } - else if (ctx->Point._Attenuated) { + else if (ctx->Point._Attenuated || ctx->VertexProgram.PointSizeEnabled) { if (rgbMode) { if (ctx->Texture._ReallyEnabled) { if (ctx->Point.SmoothFlag) { |