summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/light.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-05-05 08:36:20 -0700
committerEric Anholt <eric@anholt.net>2010-05-13 13:02:09 -0700
commit165694ad65374ff4330bd80acb398fe0428ba2e6 (patch)
treef74edc1cddd7f3a53ef2fd2cd7adbe229fa9be7f /src/mesa/main/light.c
parentfef303bc94f2fb15a068563ac8abfb1765bde035 (diff)
downloadexternal_mesa3d-165694ad65374ff4330bd80acb398fe0428ba2e6.zip
external_mesa3d-165694ad65374ff4330bd80acb398fe0428ba2e6.tar.gz
external_mesa3d-165694ad65374ff4330bd80acb398fe0428ba2e6.tar.bz2
mesa: Remove no-op wrappers around trig functions.
Diffstat (limited to 'src/mesa/main/light.c')
-rw-r--r--src/mesa/main/light.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c
index 453ce4d..5b87b8c 100644
--- a/src/mesa/main/light.c
+++ b/src/mesa/main/light.c
@@ -162,7 +162,7 @@ _mesa_light(GLcontext *ctx, GLuint lnum, GLenum pname, const GLfloat *params)
return;
FLUSH_VERTICES(ctx, _NEW_LIGHT);
light->SpotCutoff = params[0];
- light->_CosCutoffNeg = (GLfloat) (_mesa_cos(light->SpotCutoff * DEG2RAD));
+ light->_CosCutoffNeg = (GLfloat) (cos(light->SpotCutoff * DEG2RAD));
if (light->_CosCutoffNeg < 0)
light->_CosCutoff = 0;
else