From: Brian Date: Thu, 1 Feb 2007 16:25:55 +0000 (-0700) Subject: silence uninitialized var warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81ef03be65f1458d627528a13cb86feb992d758f;p=mesa.git silence uninitialized var warning --- 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;