aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/ast_function.cpp
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-08-23 17:51:42 +0800
committerChia-I Wu <[email protected]>2010-08-24 11:27:29 +0800
commitbfd7c9ac228c7ed8aec04c3b3aa33f40ee00b035 (patch)
tree253e93215989a58b0ec088b7fad095766e3cab80 /src/glsl/ast_function.cpp
parentf90b5936d07c4c8f280318ab5cf5894ecb67aef6 (diff)
glsl: Include main/core.h.
Make glsl include only main/core.h from core mesa.
Diffstat (limited to 'src/glsl/ast_function.cpp')
-rw-r--r--src/glsl/ast_function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp
index f85b308c1bf..34b0f70d41e 100644
--- a/src/glsl/ast_function.cpp
+++ b/src/glsl/ast_function.cpp
@@ -25,7 +25,7 @@
#include "ast.h"
#include "glsl_types.h"
#include "ir.h"
-#include "main/macros.h"
+#include "main/core.h" /* for MIN2 */
static ir_rvalue *
convert_component(ir_rvalue *src, const glsl_type *desired_type);