aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-02-24 16:42:43 -0700
committerBrian Paul <[email protected]>2015-02-26 08:38:38 -0700
commit6cb431c19c03e0582dc9552159b308ff9a5d2294 (patch)
treebeb6062b6d8a0a7d2a05da9198a0f75532ff089e /src
parent36ea81d0675b11c08c61fc3cd508dc273c9de542 (diff)
glsl: #include c99_math.h instead of core.h
We only need the M_LOG2E definition. Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/glsl/lower_instructions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/lower_instructions.cpp b/src/glsl/lower_instructions.cpp
index 4779de059ad..845cfff3648 100644
--- a/src/glsl/lower_instructions.cpp
+++ b/src/glsl/lower_instructions.cpp
@@ -124,7 +124,7 @@
* Converts double trunc, ceil, floor, round to fract
*/
-#include "main/core.h" /* for M_LOG2E */
+#include "c99_math.h"
#include "program/prog_instruction.h" /* for swizzle */
#include "glsl_types.h"
#include "ir.h"