diff options
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 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; |