st/mesa: Clean up header file inclusion in st_mesa_to_tgsi.h.
authorVinson Lee <vlee@vmware.com>
Sat, 25 Dec 2010 02:27:55 +0000 (18:27 -0800)
committerVinson Lee <vlee@vmware.com>
Sat, 25 Dec 2010 02:27:55 +0000 (18:27 -0800)
src/mesa/state_tracker/st_mesa_to_tgsi.h

index 9bfd4960b604f6b3d4a268c8c51180e71be94162..0615e52ef6297bd5a64c8b078e62b2cc2ddac3fe 100644 (file)
 #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(