summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-07-13 17:49:22 +0000
committerKeith Whitwell <[email protected]>2005-07-13 17:49:22 +0000
commitb127cfeb7a4a78d9e7da8b005fff74dff5fad4ce (patch)
tree9a38b422cdbc63b22d51f64ce792cd2bbe599a60 /src/mesa
parent3f7cb794ea154ddcc7b1a8d792eae658d077db81 (diff)
Use the LDEXPF wrapper macro.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/tnl/t_vb_arbprogram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vb_arbprogram.c b/src/mesa/tnl/t_vb_arbprogram.c
index 13041949d17..fd7ffcd84c8 100644
--- a/src/mesa/tnl/t_vb_arbprogram.c
+++ b/src/mesa/tnl/t_vb_arbprogram.c
@@ -279,9 +279,9 @@ static void do_EXP( struct arb_vp_machine *m, union instruction op )
GLfloat flr_tmp = FLOORF(tmp);
GLfloat frac_tmp = tmp - flr_tmp;
- result[0] = ldexpf(1.0, (int)flr_tmp);
+ result[0] = LDEXPF(1.0, (int)flr_tmp);
result[1] = frac_tmp;
- result[2] = ldexpf(rough_approx_log2_0_1(frac_tmp), (int)flr_tmp);
+ result[2] = LDEXPF(rough_approx_log2_0_1(frac_tmp), (int)flr_tmp);
result[3] = 1.0F;
}