From 42fd4b607ad4a16939abd5d69792080c8092d5e3 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 4 Dec 2013 14:43:09 -0800 Subject: [PATCH] Fix generation of the function pointer typedefs. We were disagreeing with the GL headers on their names. --- src/gen_dispatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = []