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

Vinson Lee vlee at kemper.freedesktop.org
Sat Aug 7 20:58:40 UTC 2010


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

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

swrast: Reduce header file inclusion in s_fog.h.

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

---

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

diff --git a/src/mesa/swrast/s_fog.h b/src/mesa/swrast/s_fog.h
index 06107de..a496746 100644
--- a/src/mesa/swrast/s_fog.h
+++ b/src/mesa/swrast/s_fog.h
@@ -28,7 +28,8 @@
 #define S_FOG_H
 
 
-#include "swrast.h"
+#include "main/mtypes.h"
+#include "s_span.h"
 
 
 extern GLfloat




More information about the mesa-commit mailing list