aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/dispatch.h
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/glapi/dispatch.h
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/glapi/dispatch.h')
-rw-r--r--src/mesa/glapi/dispatch.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/glapi/dispatch.h b/src/mesa/glapi/dispatch.h
index dafcf3e8f24..6623d524692 100644
--- a/src/mesa/glapi/dispatch.h
+++ b/src/mesa/glapi/dispatch.h
@@ -26,7 +26,12 @@
#ifndef _DISPATCH_H
#define _DISPATCH_H
+#ifdef IN_DRI_DRIVER
+#define _GLAPI_USE_REMAP_TABLE
+#endif
+
#include "glapitable.h"
+#include "glapioffsets.h"
#include "glapidispatch.h"
#endif /* _DISPATCH_H */