mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 14:40:21 +01:00
get rid of unused span->start field
This commit is contained in:
parent
9742547245
commit
4e7fd7ad96
2 changed files with 2 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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; \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue