Release temporary
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 5 May 2006 00:00:46 +0000 (00:00 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Fri, 5 May 2006 00:00:46 +0000 (00:00 +0000)
src/mesa/tnl/t_vp_build.c

index 56800aafda08aecbbb10f9f85369b58576e12d1d..eb12dfe6aa15d3feb53ddede1bdc5e999d3f08c7 100644 (file)
@@ -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,