summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-06-09 19:03:18 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-06-09 19:03:18 +0000
commit1fc4bcbb17ec210a2d76fb82b5b108b129973022 (patch)
tree13dcb15430d0c4967946d8d893173881a9452bef
parent44367aab2a987a03ee1acfb7aa3a9116f3618af0 (diff)
Another typo
-rw-r--r--src/mesa/tnl/t_vb_arbprogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_arbprogram.c b/src/mesa/tnl/t_vb_arbprogram.c
index 70e1048f14..4288bd3bef 100644
--- a/src/mesa/tnl/t_vb_arbprogram.c
+++ b/src/mesa/tnl/t_vb_arbprogram.c
@@ -105,7 +105,7 @@ static GLfloat RoughApproxPow2(GLfloat t)
fi.i = (fi.i << 23) + 0x3f800000;
return fi.f;
#else
- return (GLfloat) _mesa_pow(2.0, floor_t0);
+ return (GLfloat) _mesa_pow(2.0, t);
#endif
}