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

Vinson Lee vlee at kemper.freedesktop.org
Sat Dec 25 04:06:40 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Dec 24 20:06:11 2010 -0800

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

---

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

diff --git a/src/mesa/swrast/s_depth.h b/src/mesa/swrast/s_depth.h
index e5dae7e..44820ac 100644
--- a/src/mesa/swrast/s_depth.h
+++ b/src/mesa/swrast/s_depth.h
@@ -27,9 +27,12 @@
 #define S_DEPTH_H
 
 
-#include "main/mtypes.h"
+#include "main/glheader.h"
 #include "s_span.h"
 
+struct gl_context;
+struct gl_renderbuffer;
+
 
 extern GLuint
 _swrast_depth_test_span( struct gl_context *ctx, SWspan *span);




More information about the mesa-commit mailing list