Mesa (master): swrast: Clean up header file inclusion in s_atifragshader.h.

Vinson Lee vlee at kemper.freedesktop.org
Sat Aug 7 19:26:35 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Aug  7 12:25:20 2010 -0700

swrast: Clean up header file inclusion in s_atifragshader.h.

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

s_atifragshader.c
Include s_context.h for SWcontext symbol.

---

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

diff --git a/src/mesa/swrast/s_atifragshader.c b/src/mesa/swrast/s_atifragshader.c
index 336415d..1338b68 100644
--- a/src/mesa/swrast/s_atifragshader.c
+++ b/src/mesa/swrast/s_atifragshader.c
@@ -24,6 +24,7 @@
 #include "main/macros.h"
 #include "main/atifragshader.h"
 #include "swrast/s_atifragshader.h"
+#include "swrast/s_context.h"
 
 
 /**
diff --git a/src/mesa/swrast/s_atifragshader.h b/src/mesa/swrast/s_atifragshader.h
index 871a0c0..cce455a 100644
--- a/src/mesa/swrast/s_atifragshader.h
+++ b/src/mesa/swrast/s_atifragshader.h
@@ -27,7 +27,8 @@
 #define S_ATIFRAGSHADER_H
 
 
-#include "s_context.h"
+#include "main/mtypes.h"
+#include "s_span.h"
 
 
 extern void




More information about the mesa-commit mailing list