diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-08-31 18:55:55 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-08-31 18:55:55 +0000 |
commit | 2b7a01a39ba5257407dddde38ef049856c34aa01 (patch) | |
tree | 20196a22020a26450ccb6d24e5e85f01974b566c /src/mesa/swrast | |
parent | 7961e67c2ae75f6cd32d7ac7cbe9f887da10c865 (diff) |
always assign texcoord[i][3] to silence valgrind
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r-- | src/mesa/swrast/s_span.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index 59e89252a0..a3be9734c3 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -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; |