glsl: #include c99_math.h instead of core.h
authorBrian Paul <brianp@vmware.com>
Tue, 24 Feb 2015 23:42:43 +0000 (16:42 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 26 Feb 2015 15:38:38 +0000 (08:38 -0700)
We only need the M_LOG2E definition.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/glsl/lower_instructions.cpp

index 4779de059adda963730f2f2fe4fde35faeff8490..845cfff36480c661726c0057e2bf58e28f054fde 100644 (file)
  * 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"