summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-03-25 00:00:29 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-03-25 00:00:29 +0000
commitaf1bfb7281eb8175adb7bb9774aeafa020e3831b (patch)
tree292d3c0e6b2cce11014a9747500c54e2459da9b9
parent6d6efd605f662c1f07e183e58416db804f0a058f (diff)
store correct EXP result
-rw-r--r--src/mesa/main/nvvertexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/nvvertexec.c b/src/mesa/main/nvvertexec.c
index 0702927354..6ef6cce1d7 100644
--- a/src/mesa/main/nvvertexec.c
+++ b/src/mesa/main/nvvertexec.c
@@ -1,4 +1,4 @@
-/* $Id: nvvertexec.c,v 1.3 2003/03/04 16:33:55 brianp Exp $ */
+/* $Id: nvvertexec.c,v 1.4 2003/03/25 00:00:29 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -415,7 +415,7 @@ _mesa_exec_vertex_program(GLcontext *ctx, const struct vertex_program *program)
q[2] = (GLfloat) (q[0] * LOG2(q[1]));
q[3] = 1.0F;
}
- store_vector4( &inst->DstReg, machine, t );
+ store_vector4( &inst->DstReg, machine, q );
}
break;
case VP_OPCODE_LOG: