aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/dispatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/glx/dispatch.h')
-rw-r--r--xorg-server/glx/dispatch.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xorg-server/glx/dispatch.h b/xorg-server/glx/dispatch.h
index 3a9635b9f..f572c6770 100644
--- a/xorg-server/glx/dispatch.h
+++ b/xorg-server/glx/dispatch.h
@@ -1000,6 +1000,11 @@
#define driDispatchRemapTable_size 520
extern int driDispatchRemapTable[ driDispatchRemapTable_size ];
+#if FEATURE_remap_table
+#define driDispatchRemapTable remap_table
+static int remap_table[driDispatchRemapTable_size];
+#endif
+
#define AttachShader_remap_index 0
#define CreateProgram_remap_index 1
#define CreateShader_remap_index 2