summaryrefslogtreecommitdiff
path: root/src/mesa/main/es_generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/es_generator.py')
-rw-r--r--src/mesa/main/es_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/es_generator.py b/src/mesa/main/es_generator.py
index 8f28da16df..bd25acd07c 100644
--- a/src/mesa/main/es_generator.py
+++ b/src/mesa/main/es_generator.py
@@ -212,7 +212,7 @@ extern void _mesa_error(void *ctx, GLenum error, const char *fmtString, ... );
#include "main/remap.h"
/* cannot include main/dispatch.h here */
-#ifdef IN_DRI_DRIVER
+#if FEATURE_remap_table
#define _GLAPI_USE_REMAP_TABLE
#endif
/* glapi uses GLAPIENTRY while GLES headers define GL_APIENTRY */