summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_span.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-06-29 21:52:18 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-06-29 21:52:18 -0600
commitf4b103dc993491355ec3e3640d9cb060138175c2 (patch)
tree335ae95e1532639c084d0da63c37dc015232d9f3 /src/mesa/swrast/s_span.h
parentfcc77d3ece160743e3f0f034ce2e130030c6386d (diff)
simplify INIT_SPAN code
Diffstat (limited to 'src/mesa/swrast/s_span.h')
-rw-r--r--src/mesa/swrast/s_span.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mesa/swrast/s_span.h b/src/mesa/swrast/s_span.h
index 585cce91ee..512134db0f 100644
--- a/src/mesa/swrast/s_span.h
+++ b/src/mesa/swrast/s_span.h
@@ -159,15 +159,15 @@ typedef struct sw_span
-#define INIT_SPAN(S, PRIMITIVE, END, INTERP_MASK, ARRAY_MASK) \
-do { \
- (S).primitive = (PRIMITIVE); \
- (S).interpMask = (INTERP_MASK); \
- (S).arrayMask = (ARRAY_MASK); \
- (S).arrayAttribs = 0x0; \
- (S).end = (END); \
- (S).facing = 0; \
- (S).array = SWRAST_CONTEXT(ctx)->SpanArrays; \
+#define INIT_SPAN(S, PRIMITIVE) \
+do { \
+ (S).primitive = (PRIMITIVE); \
+ (S).interpMask = 0x0; \
+ (S).arrayMask = 0x0; \
+ (S).arrayAttribs = 0x0; \
+ (S).end = 0; \
+ (S).facing = 0; \
+ (S).array = SWRAST_CONTEXT(ctx)->SpanArrays; \
} while (0)