diff options
author | Brian <[email protected]> | 2006-12-15 10:09:49 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2006-12-15 10:09:49 -0700 |
commit | 464b9f4f6c6514a7cfcc873923b5c127c1c6f60b (patch) | |
tree | cce52a4ac2939dd3da55147d9f313ee73be36977 /src/mesa/swrast/s_span.c | |
parent | 9abf73b8cc204a9348c751022bace78560d7cb3e (diff) |
varying var changes
Diffstat (limited to 'src/mesa/swrast/s_span.c')
-rw-r--r-- | src/mesa/swrast/s_span.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index f0918878388..7bfb23f0f74 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -829,8 +829,8 @@ interpolate_varying(GLcontext *ctx, SWspan *span) span->arrayMask |= SPAN_VARYING; - for (i = 0; i < MAX_VARYING_VECTORS; i++) { - for (j = 0; j < VARYINGS_PER_VECTOR; j++) { + for (i = 0; i < MAX_VARYING; i++) { + for (j = 0; j < 4; j++) { const GLfloat dvdx = span->varStepX[i][j]; GLfloat v = span->var[i][j]; const GLfloat dwdx = span->dwdx; |