Fix generation of the function pointer typedefs.

We were disagreeing with the GL headers on their names.
macos/v1.5.9
Eric Anholt 11 years ago
parent 4564d31489
commit 42fd4b607a
  1. 2
      src/gen_dispatch.py

@ -55,7 +55,7 @@ class GLProvider(object):
class GLFunction(object): class GLFunction(object):
def __init__(self, ret_type, name): def __init__(self, ret_type, name):
self.name = name self.name = name
self.ptr_type = 'PFN' + name.upper() self.ptr_type = 'PFN' + name.upper() + 'PROC'
self.ret_type = ret_type self.ret_type = ret_type
self.providers = {} self.providers = {}
self.args = [] self.args = []

Loading…
Cancel
Save