diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-06-02 20:16:49 +0900 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-06-02 20:17:16 +0900 |
commit | 969a207fe356d152b65085a9113502c7fbb5712e (patch) | |
tree | bb28eac0b6be0137020f4064cc62c5682c29d0da | |
parent | 012c0dd6321e858af22389f98201c8dcb8f8780c (diff) |
gallium: Fix log<->cos typo in logf.
-rw-r--r-- | src/gallium/include/pipe/p_util.h | 2 |
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 |