summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/include/pipe/p_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_util.h b/src/gallium/include/pipe/p_util.h
index cb3cd264e91..0a9e2ef1b6b 100644
--- a/src/gallium/include/pipe/p_util.h
+++ b/src/gallium/include/pipe/p_util.h
@@ -449,7 +449,7 @@ static INLINE float fabsf( float f )
static INLINE float logf( float f )
{
- return (float) cos( (double) f );
+ return (float) log( (double) f );
}
#endif