summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/remap_helper.py
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-10-20 14:32:39 +0800
committerBrian Paul <[email protected]>2009-11-05 20:04:10 -0700
commit6418f836d470b41c2a5dbfad52b797db1ec3871b (patch)
tree2165d6a4ad629a5a604c79d856639796c685381d /src/mesa/glapi/remap_helper.py
parent8d2edbf1395ca1e2d23b3bd2ba2c5d54f21d377b (diff)
glapi: Add is_abi() to test if a function is in the ABI.
The test is done by checking if the offset is manually assigned. The generated headers are unchanged. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/mesa/glapi/remap_helper.py')
-rw-r--r--src/mesa/glapi/remap_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/remap_helper.py b/src/mesa/glapi/remap_helper.py
index e47583a5d3f..2a1f5adc32a 100644
--- a/src/mesa/glapi/remap_helper.py
+++ b/src/mesa/glapi/remap_helper.py
@@ -145,7 +145,7 @@ class PrintGlRemap(gl_XML.gl_print_base):
funcs = []
for f in extension_functions[ext]:
# test if the function is in the ABI
- if not f.assign_offset and f.offset >= 0:
+ if f.is_abi():
funcs.append(f)
if not funcs:
continue