summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/gl_table.py
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-04-17 09:49:39 -0600
committerBrian Paul <[email protected]>2013-04-17 17:33:39 -0600
commit0bcced771683bf789d4a3894cb40e745599f667e (patch)
tree3c99755bafd636b1480baf9bb8a4f15de9bdac9f /src/mapi/glapi/gen/gl_table.py
parent8e7f7e9693814dec8196953786f4ae2e738453e2 (diff)
glapi: remove FEATURE_remap_table test (it's always defined)
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen/gl_table.py')
-rw-r--r--src/mapi/glapi/gen/gl_table.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mapi/glapi/gen/gl_table.py b/src/mapi/glapi/gen/gl_table.py
index 382eaafd949..99957f6ffbd 100644
--- a/src/mapi/glapi/gen/gl_table.py
+++ b/src/mapi/glapi/gen/gl_table.py
@@ -147,17 +147,6 @@ class PrintRemapTable(gl_XML.gl_print_base):
for f, index in abi_functions:
print '#define _gloffset_%s %d' % (f.name, f.offset)
- print ''
- print '#if !FEATURE_remap_table'
- print ''
-
- for f, index in functions:
- print '#define _gloffset_%s %d' % (f.name, f.offset)
-
- print ''
- print '#else /* !FEATURE_remap_table */'
- print ''
-
if self.es:
remap_table = "esLocalRemapTable"
@@ -180,8 +169,6 @@ class PrintRemapTable(gl_XML.gl_print_base):
print '#define _gloffset_%s %s[%s_remap_index]' % (f.name, remap_table, f.name)
print ''
- print '#endif /* !FEATURE_remap_table */'
- print ''
for f, index in abi_functions + functions:
arg_string = gl_XML.create_parameter_string( f.parameters, 0 )
@@ -209,12 +196,10 @@ class PrintRemapTable(gl_XML.gl_print_base):
print '#define SET_%s(disp, fn) SET_%s(disp, fn)' % (name, f.name)
print ''
- print '#if FEATURE_remap_table'
for f in alias_functions:
for name in f.entry_points:
if name != f.name:
print '#define %s_remap_index %s_remap_index' % (name, f.name)
- print '#endif /* FEATURE_remap_table */'
print ''
return