summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_points.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-06-29 21:52:18 -0600
committerBrian <[email protected]>2007-06-29 21:52:18 -0600
commitf4b103dc993491355ec3e3640d9cb060138175c2 (patch)
tree335ae95e1532639c084d0da63c37dc015232d9f3 /src/mesa/swrast/s_points.c
parentfcc77d3ece160743e3f0f034ce2e130030c6386d (diff)
simplify INIT_SPAN code
Diffstat (limited to 'src/mesa/swrast/s_points.c')
-rw-r--r--src/mesa/swrast/s_points.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_points.c b/src/mesa/swrast/s_points.c
index ade1eab8917..8eba53c8076 100644
--- a/src/mesa/swrast/s_points.c
+++ b/src/mesa/swrast/s_points.c
@@ -82,7 +82,7 @@ sprite_point(GLcontext *ctx, const SWvertex *vert)
size = CLAMP(size, ctx->Const.MinPointSize, ctx->Const.MaxPointSize);
/* span init */
- INIT_SPAN(span, GL_POINT, 0, 0, 0);
+ INIT_SPAN(span, GL_POINT);
span.interpMask = SPAN_Z | SPAN_RGBA;
span.red = ChanToFixed(vert->color[0]);
@@ -248,7 +248,7 @@ smooth_point(GLcontext *ctx, const SWvertex *vert)
(void) alphaAtten; /* not used */
/* span init */
- INIT_SPAN(span, GL_POINT, 0, 0, 0);
+ INIT_SPAN(span, GL_POINT);
span.interpMask = SPAN_Z | SPAN_RGBA;
span.arrayMask = SPAN_COVERAGE | SPAN_MASK;
@@ -367,7 +367,7 @@ large_point(GLcontext *ctx, const SWvertex *vert)
size = CLAMP(size, ctx->Const.MinPointSize, ctx->Const.MaxPointSize);
/* span init */
- INIT_SPAN(span, GL_POINT, 0, 0, 0);
+ INIT_SPAN(span, GL_POINT);
span.arrayMask = SPAN_XY;
if (ciMode) {