summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_instructions.cpp
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-02-24 16:42:43 -0700
committerBrian Paul <brianp@vmware.com>2015-02-26 08:38:38 -0700
commit6cb431c19c03e0582dc9552159b308ff9a5d2294 (patch)
treebeb6062b6d8a0a7d2a05da9198a0f75532ff089e /src/glsl/lower_instructions.cpp
parent36ea81d0675b11c08c61fc3cd508dc273c9de542 (diff)
downloadexternal_mesa3d-6cb431c19c03e0582dc9552159b308ff9a5d2294.zip
external_mesa3d-6cb431c19c03e0582dc9552159b308ff9a5d2294.tar.gz
external_mesa3d-6cb431c19c03e0582dc9552159b308ff9a5d2294.tar.bz2
glsl: #include c99_math.h instead of core.h
We only need the M_LOG2E definition. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/glsl/lower_instructions.cpp')
-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 4779de0..845cfff 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"