diff options
author | Eric Anholt <eric@anholt.net> | 2013-12-04 14:43:09 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-04 16:07:15 -0800 |
commit | 42fd4b607ad4a16939abd5d69792080c8092d5e3 (patch) | |
tree | f7fb8af87ae0f67ad34cb801bfafab349f015fc1 /src | |
parent | 4564d314893143c9136ff0efb85c95d31b66943f (diff) |
Fix generation of the function pointer typedefs.
We were disagreeing with the GL headers on their names.
Diffstat (limited to 'src')
-rwxr-xr-x | src/gen_dispatch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen_dispatch.py b/src/gen_dispatch.py index 9756a19..ccaba84 100755 --- a/src/gen_dispatch.py +++ b/src/gen_dispatch.py @@ -55,7 +55,7 @@ class GLProvider(object): class GLFunction(object): def __init__(self, ret_type, name): self.name = name - self.ptr_type = 'PFN' + name.upper() + self.ptr_type = 'PFN' + name.upper() + 'PROC' self.ret_type = ret_type self.providers = {} self.args = [] |