summaryrefslogtreecommitdiff
path: root/src
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:17:16 +0900
commit969a207fe356d152b65085a9113502c7fbb5712e (patch)
treebb28eac0b6be0137020f4064cc62c5682c29d0da /src
parent012c0dd6321e858af22389f98201c8dcb8f8780c (diff)
gallium: Fix log<->cos typo in logf.
Diffstat (limited to 'src')
-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 0d8ed167b2..3d8ad48d4f 100644
--- a/src/gallium/include/pipe/p_util.h
+++ b/src/gallium/include/pipe/p_util.h
@@ -452,7 +452,7 @@ static INLINE float fabsf( float f )
static INLINE float logf( float f )
{
- return (float) cos( (double) f );
+ return (float) log( (double) f );
}
#endif /* _INC_MATH */
#endif