Commit 6f086831 authored by Marek Olšák's avatar Marek Olšák

Update gl.xml from opengl registry and fix gl.py

parent 8eaf2417
......@@ -65,7 +65,6 @@ def parse():
def _repair_xml(xml_registry):
fixes = set((
'GL_ALL_ATTRIB_BITS',
'glOcclusionQueryEventMaskAMD',
'gles2_GL_ACTIVE_PROGRAM_EXT',
))
......@@ -90,16 +89,6 @@ def _repair_xml(xml_registry):
fixes.remove('GL_ALL_ATTRIB_BITS')
continue
if ('glOcclusionQueryEventMaskAMD' in fixes and
enums.get('namespace') == 'OcclusionQueryEventMaskAMD'):
# This tag's attributes are totally broken.
enums.set('namespace', 'GL')
enums.set('group', 'OcclusionQueryEventMaskAMD')
enums.set('type', 'bitmask')
fixes.remove('glOcclusionQueryEventMaskAMD')
continue
if ('gles2_GL_ACTIVE_PROGRAM_EXT' in fixes and
enums.get('vendor') is not None and
enums.get('vendor') == 'ARB' and
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment