aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-05-23 19:39:14 +0200
committermarha <marha@users.sourceforge.net>2014-05-23 19:39:14 +0200
commit697c9a1917acd36a1b99e0d263baf2514446ca11 (patch)
tree292db242804af7552ce33c2e5123c836082414c4
parenta27ca45b676116ebbce31973bc1a319cad76ffbf (diff)
downloadvcxsrv-697c9a1917acd36a1b99e0d263baf2514446ca11.tar.gz
vcxsrv-697c9a1917acd36a1b99e0d263baf2514446ca11.tar.bz2
vcxsrv-697c9a1917acd36a1b99e0d263baf2514446ca11.zip
Solved compile problem due to latest merge
-rwxr-xr-xmesalib/src/glsl/builtin_functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesalib/src/glsl/builtin_functions.cpp b/mesalib/src/glsl/builtin_functions.cpp
index 89c4b0834..7e225b0d5 100755
--- a/mesalib/src/glsl/builtin_functions.cpp
+++ b/mesalib/src/glsl/builtin_functions.cpp
@@ -63,8 +63,8 @@
#include <limits>
#define M_PIf ((float) M_PI)
-#define M_PI_2f ((float) M_PI_2)
-#define M_PI_4f ((float) M_PI_4)
+#define M_PI_2f ((float) M_PI/2.0f)
+#define M_PI_4f ((float) M_PI/4.0f)
using namespace ir_builder;