summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2006-05-05 00:00:46 +0000
committerKeith Whitwell <[email protected]>2006-05-05 00:00:46 +0000
commitab377ce414ba5ca286bab0ddc8e80769bcb88656 (patch)
treedfd5a787a12aafeb9cd2477373de262d390dc539
parent6e2ab82f5c2bc41c1dcb146c0fe9606f3bfe4eb1 (diff)
Release temporary
-rw-r--r--src/mesa/tnl/t_vp_build.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c
index 56800aafda0..eb12dfe6aa1 100644
--- a/src/mesa/tnl/t_vp_build.c
+++ b/src/mesa/tnl/t_vp_build.c
@@ -1154,6 +1154,8 @@ static void build_reflect_texgen( struct tnl_program *p,
emit_op2(p, OPCODE_ADD, tmp, 0, tmp, tmp);
/* (-2n.u)n + u */
emit_op3(p, OPCODE_MAD, dest, writemask, negate(tmp), normal, eye_hat);
+
+ release_temp(p, tmp);
}
static void build_sphere_texgen( struct tnl_program *p,