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

Vinson Lee vlee at kemper.freedesktop.org
Sun Aug 8 04:07:58 UTC 2010


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

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

swrast: Reduce header file inclusion in s_logic.h.

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

---

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

diff --git a/src/mesa/swrast/s_logic.h b/src/mesa/swrast/s_logic.h
index e8cfae3..d609513 100644
--- a/src/mesa/swrast/s_logic.h
+++ b/src/mesa/swrast/s_logic.h
@@ -27,7 +27,8 @@
 #define S_LOGIC_H
 
 
-#include "swrast.h"
+#include "main/mtypes.h"
+#include "s_span.h"
 
 extern void
 _swrast_logicop_rgba_span(GLcontext *ctx, struct gl_renderbuffer *rb,




More information about the mesa-commit mailing list