diff options
author | Brian <brian@yutani.localnet.net> | 2007-02-01 09:25:55 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-02-01 09:25:55 -0700 |
commit | 81ef03be65f1458d627528a13cb86feb992d758f (patch) | |
tree | 0189af20cbc5ad0f86075ace7ac7a7d70d97707a /src/mesa/shader/nvvertexec.c | |
parent | 8fa6f7363e79740bafba5fb97e4d28f531fbf6d6 (diff) |
silence uninitialized var warning
Diffstat (limited to 'src/mesa/shader/nvvertexec.c')
-rw-r--r-- | src/mesa/shader/nvvertexec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/nvvertexec.c b/src/mesa/shader/nvvertexec.c index 75dfd7383c..f8cdfbf17a 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; |