summaryrefslogtreecommitdiff
path: root/src/mesa/main/mfeatures.h
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-10-26 16:16:14 +0800
committerChia-I Wu <olv@lunarg.com>2010-11-02 14:17:56 +0800
commitfdede1efaae32d23caf3b351cc766df12e3c5f8d (patch)
tree6ed18ed5ab8fc375b5cc9aed1d5f8d22422b8b79 /src/mesa/main/mfeatures.h
parent6b999c89ce1a5bf2d5e8533929b8f2101beaa481 (diff)
mesa: Select FEATURE_remap_table when multiple APIs are enabled.
Core mesa should query glapi for the positions of the functions in _glapi_table when multiple APIs are supported. It does not know which glapitable.h glapi used.
Diffstat (limited to 'src/mesa/main/mfeatures.h')
-rw-r--r--src/mesa/main/mfeatures.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h
index 5afd65d976..911b30dda2 100644
--- a/src/mesa/main/mfeatures.h
+++ b/src/mesa/main/mfeatures.h
@@ -78,7 +78,7 @@
#define FEATURE_GL !FEATURE_ES
#endif
-#ifdef IN_DRI_DRIVER
+#if defined(IN_DRI_DRIVER) || (FEATURE_GL + FEATURE_ES1 + FEATURE_ES2 > 1)
#define FEATURE_remap_table 1
#else
#define FEATURE_remap_table 0