Emit APIENTRY for typedefs that use it.

The XML uses a node for where the string should be.  This should fix
segfaults using GL_ARB_debug_output on windows.

Fixes #46.
macos/v1.5.9
Eric Anholt 10 years ago
parent 8154c0efd3
commit 62861d12f9
  1. 2
      src/gen_dispatch.py

@ -218,6 +218,8 @@ class Generator(object):
self.typedefs += t.text
for child in t:
if child.tag == 'apientry':
self.typedefs += 'APIENTRY'
if child.text:
self.typedefs += child.text
if child.tail:

Loading…
Cancel
Save