projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fa6f73
)
silence uninitialized var warning
author
Brian
<brian@yutani.localnet.net>
Thu, 1 Feb 2007 16:25:55 +0000
(09:25 -0700)
committer
Brian
<brian@yutani.localnet.net>
Thu, 1 Feb 2007 16:25:55 +0000
(09:25 -0700)
src/mesa/shader/nvvertexec.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/nvvertexec.c
b/src/mesa/shader/nvvertexec.c
index 75dfd7383c04ce1a4f83fec706a8e565eb953e70..f8cdfbf17a7e114c3b24b71bf3c65d5134d14ccc 100644
(file)
--- a/
src/mesa/shader/nvvertexec.c
+++ b/
src/mesa/shader/nvvertexec.c
@@
-773,6
+773,7
@@
_mesa_exec_vertex_program(GLcontext *ctx,
cross[0] = t[1] * u[2] - t[2] * u[1];
cross[1] = t[2] * u[0] - t[0] * u[2];
cross[2] = t[0] * u[1] - t[1] * u[0];
+ cross[3] = 0.0;
store_vector4( inst, machine, cross );
}
break;