summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/mfeatures.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-10-08 10:33:32 +0800
committerBrian Paul <[email protected]>2009-10-23 09:10:04 -0600
commitd7d3fb925b6993740d0126d0d7e678c27f5f1850 (patch)
tree89f08497fc8507beebd710b7b9fee7281cd839fa /src/mesa/main/mfeatures.h
parentbec5230a1ff3998d0f184fc2b7437b51082c329f (diff)
mesa/main: Add support for remap table.
This commit only adds the source files. It is supposed to replace the remap table in DRI drivers. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/mesa/main/mfeatures.h')
-rw-r--r--src/mesa/main/mfeatures.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h
index c2fb8404b16..4e68bc15d8a 100644
--- a/src/mesa/main/mfeatures.h
+++ b/src/mesa/main/mfeatures.h
@@ -68,6 +68,12 @@
* enabled or not.
*/
+#ifdef IN_DRI_DRIVER
+#define FEATURE_remap_table 1
+#else
+#define FEATURE_remap_table 0
+#endif
+
#define FEATURE_accum _HAVE_FULL_GL
#define FEATURE_arrayelt _HAVE_FULL_GL
#define FEATURE_attrib_stack _HAVE_FULL_GL