Mesa (master): mesa: Clean up header file inclusion in ir_to_mesa.h.

Vinson Lee vlee at kemper.freedesktop.org
Sat Dec 11 21:30:43 UTC 2010


Module: Mesa
Branch: master
Commit: 7d8c06746059c2b3cd7ac08fd0909e38c880ec9c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d8c06746059c2b3cd7ac08fd0909e38c880ec9c

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Dec 11 13:30:13 2010 -0800

mesa: Clean up header file inclusion in ir_to_mesa.h.

---

 src/mesa/program/ir_to_mesa.h |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/mesa/program/ir_to_mesa.h b/src/mesa/program/ir_to_mesa.h
index 7197615..7410e14 100644
--- a/src/mesa/program/ir_to_mesa.h
+++ b/src/mesa/program/ir_to_mesa.h
@@ -25,8 +25,11 @@
 extern "C" {
 #endif
 
-#include "main/config.h"
-#include "main/mtypes.h"
+#include "main/glheader.h"
+
+struct gl_context;
+struct gl_shader;
+struct gl_shader_program;
 
 void _mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *sh);
 void _mesa_glsl_link_shader(struct gl_context *ctx, struct gl_shader_program *prog);




More information about the mesa-commit mailing list