projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebc0b2d
)
mesa: add precision to M_PI constant
author
Matt Turner
<mattst88@gmail.com>
Fri, 6 May 2011 17:01:13 +0000
(13:01 -0400)
committer
Brian Paul
<brianp@vmware.com>
Fri, 6 May 2011 16:36:32 +0000
(10:36 -0600)
Value found in my math.h header.
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/main/compiler.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/compiler.h
b/src/mesa/main/compiler.h
index 81e08a006f8a7d795b90d8e2605bd97ce301cc3f..743841be4ef8378beed5e15037ab921c3d530db7 100644
(file)
--- 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.141592653
5897932384
6)
#endif
#ifndef M_E