diff options
Diffstat (limited to 'src/mesa/swrast/s_points.c')
-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) { |