Mesa (master): mesa: Remove unnecessary headers.

Vinson Lee vlee at kemper.freedesktop.org
Mon Feb 1 08:43:53 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Mon Feb  1 00:43:33 2010 -0800

mesa: Remove unnecessary headers.

---

 src/mesa/main/api_exec.c |    2 --
 src/mesa/main/context.c  |    3 ---
 src/mesa/main/dlist.c    |    2 --
 3 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index cb389f2..e62c7aa 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -97,8 +97,6 @@
 #endif
 #if FEATURE_NV_fragment_program
 #include "shader/nvprogram.h"
-#include "shader/program.h"
-#include "texenvprogram.h"
 #endif
 #if FEATURE_ARB_shader_objects
 #include "shaders.h"
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index b0f42e5..017ad50 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -133,9 +133,6 @@
 #include "shader/program.h"
 #include "shader/prog_print.h"
 #include "shader/shader_api.h"
-#if FEATURE_ATI_fragment_shader
-#include "shader/atifragshader.h"
-#endif
 #if _HAVE_FULL_GL
 #include "math/m_matrix.h"
 #endif
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index b182bbe..683d062 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -56,11 +56,9 @@
 #include "varray.h"
 #if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
 #include "shader/arbprogram.h"
-#include "shader/program.h"
 #endif
 #if FEATURE_NV_vertex_program || FEATURE_NV_fragment_program
 #include "shader/nvprogram.h"
-#include "shader/program.h"
 #endif
 #if FEATURE_ATI_fragment_shader
 #include "shader/atifragshader.h"




More information about the mesa-commit mailing list