summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_span.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2006-12-15 10:09:49 -0700
committerBrian <[email protected]>2006-12-15 10:09:49 -0700
commit464b9f4f6c6514a7cfcc873923b5c127c1c6f60b (patch)
treecce52a4ac2939dd3da55147d9f313ee73be36977 /src/mesa/swrast/s_span.c
parent9abf73b8cc204a9348c751022bace78560d7cb3e (diff)
varying var changes
Diffstat (limited to 'src/mesa/swrast/s_span.c')
-rw-r--r--src/mesa/swrast/s_span.c4
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;