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

Vinson Lee vlee at kemper.freedesktop.org
Fri Aug 13 06:53:04 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Thu Aug 12 23:51:16 2010 -0700

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

Remove mtypes.h and swrast_setup.h.
Include glheader.h for GL symbols.

---

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

diff --git a/src/mesa/swrast_setup/ss_context.h b/src/mesa/swrast_setup/ss_context.h
index 1ec293f..56551ab 100644
--- a/src/mesa/swrast_setup/ss_context.h
+++ b/src/mesa/swrast_setup/ss_context.h
@@ -28,9 +28,8 @@
 #ifndef SS_CONTEXT_H
 #define SS_CONTEXT_H
 
-#include "main/mtypes.h"
+#include "main/glheader.h"
 #include "swrast/swrast.h"
-#include "swrast_setup.h"
 #include "tnl/t_context.h"
 
 typedef struct {




More information about the mesa-commit mailing list