From 4e7fd7ad9604f6b9700a6011338c2bf1381b28da Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 2 Feb 2007 09:09:13 -0700 Subject: get rid of unused span->start field --- src/mesa/swrast/s_span.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/mesa/swrast/s_span.h') diff --git a/src/mesa/swrast/s_span.h b/src/mesa/swrast/s_span.h index ff91768001..c5f79871f1 100644 --- a/src/mesa/swrast/s_span.h +++ b/src/mesa/swrast/s_span.h @@ -129,9 +129,8 @@ typedef struct sw_span { GLint x, y; - /** Only need to process pixels between start <= i < end */ - /** At this time, start is always zero. */ - GLuint start, end; + /** Number of fragments in the span */ + GLuint end; /** This flag indicates that mask[] array is effectively filled with ones */ GLboolean writeAll; @@ -213,7 +212,6 @@ do { \ (S).primitive = (PRIMITIVE); \ (S).interpMask = (INTERP_MASK); \ (S).arrayMask = (ARRAY_MASK); \ - (S).start = 0; \ (S).end = (END); \ (S).facing = 0; \ (S).array = SWRAST_CONTEXT(ctx)->SpanArrays; \ -- cgit v1.2.3