diff options
author | marha <marha@users.sourceforge.net> | 2014-04-23 23:23:44 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-04-23 23:23:44 +0200 |
commit | 26287ff521b55de188c7b41eee4bff389844c6c3 (patch) | |
tree | 545263de6a5c314743d0b818bf6a942bae9909e3 /mesalib/src/glsl/builtin_functions.cpp | |
parent | 24fb0da18f1c44dfa1f76d8cde8efbb958aa7659 (diff) | |
download | vcxsrv-26287ff521b55de188c7b41eee4bff389844c6c3.tar.gz vcxsrv-26287ff521b55de188c7b41eee4bff389844c6c3.tar.bz2 vcxsrv-26287ff521b55de188c7b41eee4bff389844c6c3.zip |
Solved compile problems due to latest merge
Diffstat (limited to 'mesalib/src/glsl/builtin_functions.cpp')
-rwxr-xr-x | mesalib/src/glsl/builtin_functions.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesalib/src/glsl/builtin_functions.cpp b/mesalib/src/glsl/builtin_functions.cpp index a326f4358..704458115 100755 --- a/mesalib/src/glsl/builtin_functions.cpp +++ b/mesalib/src/glsl/builtin_functions.cpp @@ -64,9 +64,9 @@ #define f(x) join(x) #define join(x) x ## f -#define M_PIf f(M_PI) -#define M_PI_2f f(M_PI_2) -#define M_PI_4f f(M_PI_4) +#define M_PIf ((float)M_PI) +#define M_PI_2f (M_PIf/2.0f) +#define M_PI_4f (M_PIf/4.0f) using namespace ir_builder; |