summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-10-16 16:04:06 +0800
committerBrian Paul <[email protected]>2009-10-23 09:10:04 -0600
commit6e99e6ddbf488f6955e34ef0bc438fdcb4d90f74 (patch)
tree75831ddbde201f3ccee8a6f62a24151c66391a53 /src/mesa/main
parent22884db174b9fb0736cec1c6a192f8b9a97500c1 (diff)
glapi: Always build libglapi.a.
This is made possible by making glapioffsets.h and glapidispatch.h internal headers of glapi. They should only be included indirectly through dispatch.h by mesa. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/api_arrayelt.c1
-rw-r--r--src/mesa/main/context.c1
-rw-r--r--src/mesa/main/dispatch.c2
-rw-r--r--src/mesa/main/remap_helper.h1
-rw-r--r--src/mesa/main/vtxfmt_tmp.h1
5 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/main/api_arrayelt.c b/src/mesa/main/api_arrayelt.c
index a058227110d..469b4529f91 100644
--- a/src/mesa/main/api_arrayelt.c
+++ b/src/mesa/main/api_arrayelt.c
@@ -32,7 +32,6 @@
#include "context.h"
#include "imports.h"
#include "macros.h"
-#include "glapi/glapioffsets.h"
#include "glapi/dispatch.h"
typedef void (GLAPIENTRY *array_func)( const void * );
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index ea820d77b31..c57d7c10b62 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -133,7 +133,6 @@
#include "viewport.h"
#include "vtxfmt.h"
#include "glapi/glthread.h"
-#include "glapi/glapioffsets.h"
#include "glapi/glapitable.h"
#include "shader/program.h"
#include "shader/prog_print.h"
diff --git a/src/mesa/main/dispatch.c b/src/mesa/main/dispatch.c
index bf1a0137896..97d213e8e1f 100644
--- a/src/mesa/main/dispatch.c
+++ b/src/mesa/main/dispatch.c
@@ -43,6 +43,7 @@
#include "main/compiler.h"
#include "glapi/glapi.h"
#include "glapi/glapitable.h"
+#include "glapi/glapidispatch.h"
#include "glapi/glthread.h"
@@ -88,7 +89,6 @@
#define GLAPIENTRY
#endif
-#include "glapi/dispatch.h"
#include "glapi/glapitemp.h"
#endif /* USE_X86_ASM */
diff --git a/src/mesa/main/remap_helper.h b/src/mesa/main/remap_helper.h
index 89192d37e53..3886f41862c 100644
--- a/src/mesa/main/remap_helper.h
+++ b/src/mesa/main/remap_helper.h
@@ -26,7 +26,6 @@
*/
#include "glapi/dispatch.h"
-#include "glapi/glapioffsets.h"
struct gl_function_remap {
GLint func_index;
diff --git a/src/mesa/main/vtxfmt_tmp.h b/src/mesa/main/vtxfmt_tmp.h
index d56a2bb95ea..ae636fb24fb 100644
--- a/src/mesa/main/vtxfmt_tmp.h
+++ b/src/mesa/main/vtxfmt_tmp.h
@@ -30,7 +30,6 @@
#endif
#include "glapi/dispatch.h"
-#include "glapi/glapioffsets.h"
static void GLAPIENTRY TAG(ArrayElement)( GLint i )
{