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

Vinson Lee vlee at kemper.freedesktop.org
Sun Aug 8 04:24:52 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Aug  7 21:24:16 2010 -0700

swrast: Reduce header file inclusion in s_masking.h.

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

---

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

diff --git a/src/mesa/swrast/s_masking.h b/src/mesa/swrast/s_masking.h
index 3ba4f83..cb000da 100644
--- a/src/mesa/swrast/s_masking.h
+++ b/src/mesa/swrast/s_masking.h
@@ -27,7 +27,8 @@
 #define S_MASKING_H
 
 
-#include "swrast.h"
+#include "main/mtypes.h"
+#include "s_span.h"
 
 
 extern void




More information about the mesa-commit mailing list