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

Vinson Lee vlee at kemper.freedesktop.org
Wed Aug 4 19:47:25 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Wed Aug  4 12:46:38 2010 -0700

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

Replace mtypes.h with forward declarations.
Include compiler.h for INLINE symbol.

---

 src/mesa/state_tracker/st_cb_drawtex.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/mesa/state_tracker/st_cb_drawtex.h b/src/mesa/state_tracker/st_cb_drawtex.h
index a3f54a3..d21262f 100644
--- a/src/mesa/state_tracker/st_cb_drawtex.h
+++ b/src/mesa/state_tracker/st_cb_drawtex.h
@@ -10,7 +10,10 @@
 #define ST_CB_DRAWTEX_H
 
 
-#include "main/mtypes.h"
+#include "main/compiler.h"
+
+struct dd_function_table;
+struct st_context;
 
 #if FEATURE_OES_draw_texture
 




More information about the mesa-commit mailing list