summaryrefslogtreecommitdiffstats
path: root/src/mesa/es/main
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-04-22 13:30:03 -0400
committerKristian Høgsberg <[email protected]>2010-04-27 13:09:31 -0400
commit1741ddb747ca0be284315adb4b6fe67ddf292d03 (patch)
tree879e8d81369f9c5aba4af51e00abcf2392262a35 /src/mesa/es/main
parentfa416106307dc193e2133aa6a29b9bcfc91f8b39 (diff)
mesa: Move references to main/remap_helper.h to api_exec.c
Diffstat (limited to 'src/mesa/es/main')
-rw-r--r--src/mesa/es/main/es_generator.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/mesa/es/main/es_generator.py b/src/mesa/es/main/es_generator.py
index dbb516a4c16..8dedafbceb0 100644
--- a/src/mesa/es/main/es_generator.py
+++ b/src/mesa/es/main/es_generator.py
@@ -209,6 +209,32 @@ extern void _mesa_error(void *ctx, GLenum error, const char *fmtString, ... );
#include "main/dispatch.h"
+#if FEATURE_remap_table
+
+#include "main/remap.h"
+
+#ifdef IN_DRI_DRIVER
+#define _GLAPI_USE_REMAP_TABLE
+#endif
+
+#define need_MESA_remap_table
+#include "main/remap_helper.h"
+
+void
+_mesa_init_remap_table(void)
+{
+ _mesa_do_init_remap_table(_mesa_function_pool,
+ driDispatchRemapTable_size,
+ MESA_remap_table_functions);
+}
+
+void
+_mesa_map_static_functions(void)
+{
+}
+
+#endif
+
typedef void (*_glapi_proc)(void); /* generic function pointer */
"""