summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-02 20:16:49 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-02 20:28:50 +0900
commitacdf24e53047892b83dc5b92567694600ffb8cf5 (patch)
tree80976a5e12b844a64672048d7a5b4f2fa846733c /src/gallium/include/pipe
parentc1949e2bd3acc45c23cc434eef2b0d6aae9092ca (diff)
gallium: Fix log<->cos typo in logf.
Diffstat (limited to 'src/gallium/include/pipe')
-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 cb3cd264e9..0a9e2ef1b6 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