projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7961e67
)
always assign texcoord[i][3] to silence valgrind
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sun, 31 Aug 2003 18:55:55 +0000
(18:55 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sun, 31 Aug 2003 18:55:55 +0000
(18:55 +0000)
src/mesa/swrast/s_span.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_span.c
b/src/mesa/swrast/s_span.c
index
59e8925
..
a3be973
100644
(file)
--- 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;