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

Vinson Lee vlee at kemper.freedesktop.org
Sun Aug 8 04:45:47 UTC 2010


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

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

swrast: Reduce header file inclusion in s_stencil.h.

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

---

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

diff --git a/src/mesa/swrast/s_stencil.h b/src/mesa/swrast/s_stencil.h
index cd6cbc5..c076ebb 100644
--- a/src/mesa/swrast/s_stencil.h
+++ b/src/mesa/swrast/s_stencil.h
@@ -27,7 +27,8 @@
 #define S_STENCIL_H
 
 
-#include "swrast.h"
+#include "main/mtypes.h"
+#include "s_span.h"
 
 
 




More information about the mesa-commit mailing list