summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/light.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-05-05 08:29:13 -0700
committerEric Anholt <[email protected]>2010-05-13 13:02:09 -0700
commitfef303bc94f2fb15a068563ac8abfb1765bde035 (patch)
tree55bcc654115bfcc3a8bd4f40e2c20d9622f5046f /src/mesa/main/light.c
parent60a053510155c119a6927bf7114e597066f8c50a (diff)
mesa: Remove _mesa_pow(), which is always just pow().
Diffstat (limited to 'src/mesa/main/light.c')
-rw-r--r--src/mesa/main/light.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c
index 19dc96892d2..453ce4df501 100644
--- a/src/mesa/main/light.c
+++ b/src/mesa/main/light.c
@@ -950,7 +950,7 @@ validate_spot_exp_table( struct gl_light *l )
for (i = EXP_TABLE_SIZE - 1; i > 0 ;i--) {
if (clamp == 0) {
- tmp = _mesa_pow(i / (GLdouble) (EXP_TABLE_SIZE - 1), exponent);
+ tmp = pow(i / (GLdouble) (EXP_TABLE_SIZE - 1), exponent);
if (tmp < FLT_MIN * 100.0) {
tmp = 0.0;
clamp = 1;
@@ -1012,7 +1012,7 @@ validate_shine_table( GLcontext *ctx, GLuint side, GLfloat shininess )
GLdouble t, x = j / (GLfloat) (SHINE_TABLE_SIZE - 1);
if (x < 0.005) /* underflow check */
x = 0.005;
- t = _mesa_pow(x, shininess);
+ t = pow(x, shininess);
if (t > 1e-20)
m[j] = (GLfloat) t;
else