summaryrefslogtreecommitdiff
path: root/src/mesa/main/dispatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/dispatch.h')
-rw-r--r--src/mesa/main/dispatch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/dispatch.h b/src/mesa/main/dispatch.h
index 552384c500..a597959cf8 100644
--- a/src/mesa/main/dispatch.h
+++ b/src/mesa/main/dispatch.h
@@ -26,7 +26,9 @@
#ifndef _DISPATCH_H
#define _DISPATCH_H
-#ifdef IN_DRI_DRIVER
+#include "main/mfeatures.h"
+
+#if FEATURE_remap_table
#define _GLAPI_USE_REMAP_TABLE
#endif