summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_linetemp.h
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_linetemp.h
parentfcc77d3ece160743e3f0f034ce2e130030c6386d (diff)
simplify INIT_SPAN code
Diffstat (limited to 'src/mesa/swrast/s_linetemp.h')
-rw-r--r--src/mesa/swrast/s_linetemp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_linetemp.h b/src/mesa/swrast/s_linetemp.h
index 55548f27b08..1accfc67e2c 100644
--- a/src/mesa/swrast/s_linetemp.h
+++ b/src/mesa/swrast/s_linetemp.h
@@ -303,7 +303,10 @@ NAME( GLcontext *ctx, const SWvertex *vert0, const SWvertex *vert1 )
}
#endif
- INIT_SPAN(span, GL_LINE, numPixels, interpFlags, SPAN_XY);
+ INIT_SPAN(span, GL_LINE);
+ span.end = numPixels;
+ span.interpMask = interpFlags;
+ span.arrayMask = SPAN_XY;
/*
* Draw