Mesa (master): mesa: Clean up header file inclusion in convolve.h.

Vinson Lee vlee at kemper.freedesktop.org
Mon Nov 8 04:40:24 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sun Nov  7 20:39:54 2010 -0800

mesa: Clean up header file inclusion in convolve.h.

---

 src/mesa/main/convolve.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/mesa/main/convolve.h b/src/mesa/main/convolve.h
index 0277917..7dc0a48 100644
--- a/src/mesa/main/convolve.h
+++ b/src/mesa/main/convolve.h
@@ -28,7 +28,10 @@
 #define CONVOLVE_H
 
 
-#include "main/mtypes.h"
+#include "compiler.h"
+#include "mfeatures.h"
+
+struct _glapi_table;
 
 
 #if FEATURE_convolve
@@ -38,8 +41,6 @@ _mesa_init_convolve_dispatch(struct _glapi_table *disp);
 
 #else /* FEATURE_convolve */
 
-#include "main/compiler.h"
-
 static INLINE void
 _mesa_init_convolve_dispatch(struct _glapi_table *disp)
 {




More information about the mesa-commit mailing list