Mesa (master): mesa: Reduce header file inclusion in texcompress_fxt1.h.

Vinson Lee vlee at kemper.freedesktop.org
Tue Aug 3 07:05:35 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Aug  3 00:04:14 2010 -0700

mesa: Reduce header file inclusion in texcompress_fxt1.h.

texcompress_fxt1.h doesn't use any additional symbols added by mtypes.h.

---

 src/mesa/main/texcompress_fxt1.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/texcompress_fxt1.h b/src/mesa/main/texcompress_fxt1.h
index d63ca71..38048b2 100644
--- a/src/mesa/main/texcompress_fxt1.h
+++ b/src/mesa/main/texcompress_fxt1.h
@@ -25,9 +25,11 @@
 #ifndef TEXCOMPRESS_FXT1_H
 #define TEXCOMPRESS_FXT1_H
 
-#include "main/mtypes.h"
+#include "glheader.h"
 #include "texstore.h"
 
+struct gl_texture_image;
+
 #if FEATURE_texture_fxt1
 
 extern GLboolean




More information about the mesa-commit mailing list