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>
This commit is contained in:
Brian Paul 2015-02-24 16:42:43 -07:00
parent 36ea81d067
commit 6cb431c19c

View file

@ -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"