Mesa (master): mesa: Reduce header file inclusion in texgen.h.

Vinson Lee vlee at kemper.freedesktop.org
Tue Aug 3 07:20:14 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Aug  3 00:19:26 2010 -0700

mesa: Reduce header file inclusion in texgen.h.

texgen.h doesn't use any symbols additionally added by mtypes.h.

---

 src/mesa/main/texgen.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/texgen.h b/src/mesa/main/texgen.h
index 397d89e..2224a93 100644
--- a/src/mesa/main/texgen.h
+++ b/src/mesa/main/texgen.h
@@ -27,7 +27,10 @@
 #define TEXGEN_H
 
 
-#include "main/mtypes.h"
+#include "compiler.h"
+#include "glheader.h"
+
+struct _glapi_table;
 
 
 #if FEATURE_texgen




More information about the mesa-commit mailing list