Mesa (master): st/mesa: Clean up header file inclusion in st_mesa_to_tgsi.h .

Vinson Lee vlee at kemper.freedesktop.org
Sat Dec 25 02:28:19 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Dec 24 18:27:55 2010 -0800

st/mesa: Clean up header file inclusion in st_mesa_to_tgsi.h.

---

 src/mesa/state_tracker/st_mesa_to_tgsi.h |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.h b/src/mesa/state_tracker/st_mesa_to_tgsi.h
index 9bfd496..0615e52 100644
--- a/src/mesa/state_tracker/st_mesa_to_tgsi.h
+++ b/src/mesa/state_tracker/st_mesa_to_tgsi.h
@@ -29,18 +29,20 @@
 #ifndef ST_MESA_TO_TGSI_H
 #define ST_MESA_TO_TGSI_H
 
-#include "main/mtypes.h"
-
-#include "pipe/p_compiler.h"
-
-struct ureg_program;
-
 #if defined __cplusplus
 extern "C" {
 #endif
 
-struct tgsi_token;
+#include "main/glheader.h"
+
+#include "pipe/p_compiler.h"
+#include "pipe/p_defines.h"
+
+struct gl_context;
 struct gl_program;
+struct tgsi_token;
+struct ureg_program;
+
 
 enum pipe_error
 st_translate_mesa_program(




More information about the mesa-commit mailing list