summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-01 09:25:55 -0700
committerBrian <[email protected]>2007-02-01 09:25:55 -0700
commit81ef03be65f1458d627528a13cb86feb992d758f (patch)
tree0189af20cbc5ad0f86075ace7ac7a7d70d97707a
parent8fa6f7363e79740bafba5fb97e4d28f531fbf6d6 (diff)
silence uninitialized var warning
-rw-r--r--src/mesa/shader/nvvertexec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/nvvertexec.c b/src/mesa/shader/nvvertexec.c
index 75dfd7383c0..f8cdfbf17a7 100644
--- 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;