summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-12-04 14:43:09 -0800
committerEric Anholt <eric@anholt.net>2013-12-04 16:07:15 -0800
commit42fd4b607ad4a16939abd5d69792080c8092d5e3 (patch)
treef7fb8af87ae0f67ad34cb801bfafab349f015fc1 /src
parent4564d314893143c9136ff0efb85c95d31b66943f (diff)
Fix generation of the function pointer typedefs.
We were disagreeing with the GL headers on their names.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/gen_dispatch.py2
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 = []