summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-02-24 09:01:51 -0700
committerBrian Paul <[email protected]>2015-02-24 14:44:19 -0700
commit79b480ccc069b92d4614ed7f61d810bdc816cb7c (patch)
tree775d9eba1c3371b3f134f686b7719cc9afde36cb /src/mesa/tnl
parente25f7772cacef8673318a7bfb33b151c5bc5d94c (diff)
mesa: replace LOGF, EXPF with logf, expf
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r--src/mesa/tnl/t_vb_fog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_fog.c b/src/mesa/tnl/t_vb_fog.c
index ab7901edb86..3c8950f1803 100644
--- a/src/mesa/tnl/t_vb_fog.c
+++ b/src/mesa/tnl/t_vb_fog.c
@@ -26,6 +26,7 @@
*/
+#include "c99_math.h"
#include "main/glheader.h"
#include "main/colormac.h"
#include "main/macros.h"
@@ -78,7 +79,7 @@ init_static_data( void )
GLfloat f = 0.0F;
GLint i = 0;
for ( ; i < FOG_EXP_TABLE_SIZE ; i++, f += FOG_INCR) {
- exp_table[i] = EXPF(-f);
+ exp_table[i] = expf(-f);
}
inited = 1;
}