Mesa (master): glsl: #include c99_math.h instead of core.h
Brian Paul
brianp at kemper.freedesktop.org
Thu Feb 26 15:45:35 UTC 2015
Module: Mesa
Branch: master
Commit: 6cb431c19c03e0582dc9552159b308ff9a5d2294
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cb431c19c03e0582dc9552159b308ff9a5d2294
Author: Brian Paul <brianp at vmware.com>
Date: Tue Feb 24 16:42:43 2015 -0700
glsl: #include c99_math.h instead of core.h
We only need the M_LOG2E definition.
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
---
src/glsl/lower_instructions.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"
More information about the mesa-commit
mailing list