From 81ef03be65f1458d627528a13cb86feb992d758f Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 1 Feb 2007 09:25:55 -0700 Subject: silence uninitialized var warning --- src/mesa/shader/nvvertexec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3