aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/glapi
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-05-24 06:33:14 +0000
committermarha <marha@users.sourceforge.net>2011-05-24 06:33:14 +0000
commit941e7f505285f0b77f232f700561c752ce75ff97 (patch)
tree298cb649d97a46ea97835411ef517857f1dc70db /mesalib/src/mapi/glapi
parent98a78a31883c4b5d63dd1465b4208bcc7c12bfcb (diff)
parent94d512f7295ade7b381fba2e9e0bc0c434cf8b65 (diff)
downloadvcxsrv-941e7f505285f0b77f232f700561c752ce75ff97.tar.gz
vcxsrv-941e7f505285f0b77f232f700561c752ce75ff97.tar.bz2
vcxsrv-941e7f505285f0b77f232f700561c752ce75ff97.zip
merge ^/branches/released .
Diffstat (limited to 'mesalib/src/mapi/glapi')
-rw-r--r--mesalib/src/mapi/glapi/gen/gl_table.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/mesalib/src/mapi/glapi/gen/gl_table.py b/mesalib/src/mapi/glapi/gen/gl_table.py
index a1a9186a4..f54d7a491 100644
--- a/mesalib/src/mapi/glapi/gen/gl_table.py
+++ b/mesalib/src/mapi/glapi/gen/gl_table.py
@@ -155,6 +155,11 @@ class PrintRemapTable(gl_XML.gl_print_base):
print '#define driDispatchRemapTable_size %u' % (count)
print 'extern int driDispatchRemapTable[ driDispatchRemapTable_size ];'
print ''
+ print '#if FEATURE_remap_table'
+ print '#define driDispatchRemapTable remap_table'
+ print 'static int remap_table[driDispatchRemapTable_size];'
+ print '#endif'
+ print ''
for f, index in functions:
print '#define %s_remap_index %u' % (f.name, index)