Mesa (master): swrast: Fix header file inclusion in s_texfilter.h.

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


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

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

swrast: Fix header file inclusion in s_texfilter.h.

Include mtypes.h for GLcontext symbol.
Include s_context.h for texture_sample_func symbol.

---

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

diff --git a/src/mesa/swrast/s_texfilter.h b/src/mesa/swrast/s_texfilter.h
index 2e265d6..eceab59 100644
--- a/src/mesa/swrast/s_texfilter.h
+++ b/src/mesa/swrast/s_texfilter.h
@@ -27,7 +27,8 @@
 #define S_TEXFILTER_H
 
 
-#include "swrast.h"
+#include "main/mtypes.h"
+#include "s_context.h"
 
 
 extern texture_sample_func




More information about the mesa-commit mailing list