aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/compiler.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2011-05-06 13:01:13 -0400
committerBrian Paul <[email protected]>2011-05-06 10:36:32 -0600
commitde3d9fa95630db0ef8fdbbfc465951f4c6b54d7c (patch)
treee2383f68549b7b0065c2261fb73f5da1e4e472c3 /src/mesa/main/compiler.h
parentebc0b2dca0eb6510189d433851bd475475e69aa6 (diff)
mesa: add precision to M_PI constant
Value found in my math.h header. Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Matt Turner <[email protected]> Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/compiler.h')
-rw-r--r--src/mesa/main/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 81e08a006f8..743841be4ef 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -355,7 +355,7 @@ static INLINE GLuint CPU_TO_LE32(GLuint x)
#ifndef M_PI
-#define M_PI (3.1415926536)
+#define M_PI (3.14159265358979323846)
#endif
#ifndef M_E