diff options
author | Brian Paul <[email protected]> | 2015-02-24 16:42:43 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-02-26 08:38:38 -0700 |
commit | 6cb431c19c03e0582dc9552159b308ff9a5d2294 (patch) | |
tree | beb6062b6d8a0a7d2a05da9198a0f75532ff089e | |
parent | 36ea81d0675b11c08c61fc3cd508dc273c9de542 (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]>
-rw-r--r-- | src/glsl/lower_instructions.cpp | 2 |
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" |