diff options
author | Brian Paul <[email protected]> | 2015-02-24 09:01:51 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-02-24 14:44:19 -0700 |
commit | 79b480ccc069b92d4614ed7f61d810bdc816cb7c (patch) | |
tree | 775d9eba1c3371b3f134f686b7719cc9afde36cb /src/mesa/swrast/s_aaline.c | |
parent | e25f7772cacef8673318a7bfb33b151c5bc5d94c (diff) |
mesa: replace LOGF, EXPF with logf, expf
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_aaline.c')
-rw-r--r-- | src/mesa/swrast/s_aaline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_aaline.c b/src/mesa/swrast/s_aaline.c index d73c498599b..0add124d420 100644 --- a/src/mesa/swrast/s_aaline.c +++ b/src/mesa/swrast/s_aaline.c @@ -203,7 +203,7 @@ compute_lambda(const GLfloat sPlane[4], const GLfloat tPlane[4], if (rho2 == 0.0F) return 0.0; else - return (GLfloat) (LOGF(rho2) * 1.442695 * 0.5);/* 1.442695 = 1/log(2) */ + return logf(rho2) * 1.442695f * 0.5f;/* 1.442695 = 1/log(2) */ } |