summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-02-02 09:09:13 -0700
committerBrian <brian@yutani.localnet.net>2007-02-02 09:09:13 -0700
commit4e7fd7ad9604f6b9700a6011338c2bf1381b28da (patch)
treefbee9a8e1e25fff150c2c566e7e66a0fea801071 /src/mesa/swrast
parent9742547245f3dc4850faa9e83d178d17669d4c09 (diff)
downloadexternal_mesa3d-4e7fd7ad9604f6b9700a6011338c2bf1381b28da.zip
external_mesa3d-4e7fd7ad9604f6b9700a6011338c2bf1381b28da.tar.gz
external_mesa3d-4e7fd7ad9604f6b9700a6011338c2bf1381b28da.tar.bz2
get rid of unused span->start field
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_context.c1
-rw-r--r--src/mesa/swrast/s_span.h6
2 files changed, 2 insertions, 5 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c
index 6e3475b..ec2f3d6 100644
--- a/src/mesa/swrast/s_context.c
+++ b/src/mesa/swrast/s_context.c
@@ -704,7 +704,6 @@ _swrast_CreateContext( GLcontext *ctx )
/* init point span buffer */
swrast->PointSpan.primitive = GL_POINT;
- swrast->PointSpan.start = 0;
swrast->PointSpan.end = 0;
swrast->PointSpan.facing = 0;
swrast->PointSpan.array = swrast->SpanArrays;
diff --git a/src/mesa/swrast/s_span.h b/src/mesa/swrast/s_span.h
index ff91768..c5f7987 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; \