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

Vinson Lee vlee at kemper.freedesktop.org
Sat Aug 7 20:05:31 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Aug  7 13:04:50 2010 -0700

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

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

---

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

diff --git a/src/mesa/swrast/s_depth.h b/src/mesa/swrast/s_depth.h
index 7eae366..878d242 100644
--- a/src/mesa/swrast/s_depth.h
+++ b/src/mesa/swrast/s_depth.h
@@ -27,7 +27,8 @@
 #define S_DEPTH_H
 
 
-#include "s_context.h"
+#include "main/mtypes.h"
+#include "s_span.h"
 
 
 extern GLuint




More information about the mesa-commit mailing list