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

Vinson Lee vlee at kemper.freedesktop.org
Sun Aug 8 05:15:05 UTC 2010


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

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

swrast: Reduce header file inclusion in s_zoom.h.

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

---

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

diff --git a/src/mesa/swrast/s_zoom.h b/src/mesa/swrast/s_zoom.h
index 43917be..09f624e 100644
--- a/src/mesa/swrast/s_zoom.h
+++ b/src/mesa/swrast/s_zoom.h
@@ -25,7 +25,8 @@
 #ifndef S_ZOOM_H
 #define S_ZOOM_H
 
-#include "swrast.h"
+#include "main/mtypes.h"
+#include "s_span.h"
 
 
 extern void




More information about the mesa-commit mailing list