aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-04-23 13:58:44 +0000
committerBrian Paul <[email protected]>2004-04-23 13:58:44 +0000
commit031e86b59723af208f0602afdcc5b729abc055b7 (patch)
treef7b48400ac2e3e8391158b3bcf384a0cc10b8d3d /src
parentfe4b9662936e6749de7b06d55005ba9f31707800 (diff)
remove some errant code from previous check-in
Diffstat (limited to 'src')
-rw-r--r--src/mesa/swrast/s_span.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c
index 0abeaec1355..871e4740055 100644
--- a/src/mesa/swrast/s_span.c
+++ b/src/mesa/swrast/s_span.c
@@ -560,9 +560,6 @@ interpolate_texcoords(GLcontext *ctx, struct sw_span *span)
}
else {
/* tex.c */
- GLfloat w = span->w;
- GLfloat dwdx = span->dwdx;
- assert(span->interpMask & SPAN_W);
for (i = 0; i < span->end; i++) {
const GLfloat invQ = (q == 0.0F) ? 1.0F : (1.0F / q);
lambda[i] = _swrast_compute_lambda(dsdx, dsdy, dtdx, dtdy,
@@ -576,7 +573,6 @@ interpolate_texcoords(GLcontext *ctx, struct sw_span *span)
t += dtdx;
r += drdx;
q += dqdx;
- w += dwdx;
}
}
span->arrayMask |= SPAN_LAMBDA;