always assign texcoord[i][3] to silence valgrind

This commit is contained in:
Brian Paul 2003-08-31 18:55:55 +00:00
parent 7961e67c2a
commit 2b7a01a39b

View file

@ -515,6 +515,7 @@ interpolate_texcoords(GLcontext *ctx, struct sw_span *span)
texcoord[i][0] = s * invQ;
texcoord[i][1] = t * invQ;
texcoord[i][2] = r * invQ;
texcoord[i][3] = q;
s += dsdx;
t += dtdx;
r += drdx;
@ -526,6 +527,7 @@ interpolate_texcoords(GLcontext *ctx, struct sw_span *span)
texcoord[i][0] = s * invQ;
texcoord[i][1] = t * invQ;
texcoord[i][2] = r * invQ;
texcoord[i][3] = q;
s += dsdx;
t += dtdx;
r += drdx;