Mesa (master): swrast: Reduce header file inclusion in s_texcombine.h.

Vinson Lee vlee at kemper.freedesktop.org
Sun Aug 8 05:01:57 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Aug  7 22:01:27 2010 -0700

swrast: Reduce header file inclusion in s_texcombine.h.

Include mtypes.h for GLcontext sybmol.
Include s_span.h for SWspan symbol.

---

 src/mesa/swrast/s_texcombine.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mesa/swrast/s_texcombine.h b/src/mesa/swrast/s_texcombine.h
index 9ed96ef..4f5dfbe 100644
--- a/src/mesa/swrast/s_texcombine.h
+++ b/src/mesa/swrast/s_texcombine.h
@@ -27,7 +27,8 @@
 #define S_TEXCOMBINE_H
 
 
-#include "swrast.h"
+#include "main/mtypes.h"
+#include "s_span.h"
 
 extern void
 _swrast_texture_span( GLcontext *ctx, SWspan *span );




More information about the mesa-commit mailing list