|
|
@ -83,8 +83,8 @@ class GLFunction(object): |
|
|
|
# list. |
|
|
|
# list. |
|
|
|
self.args_decl = 'void' |
|
|
|
self.args_decl = 'void' |
|
|
|
|
|
|
|
|
|
|
|
# If present, this is the string name of the function that |
|
|
|
# This is the string name of the function that this is an |
|
|
|
# this is an alias of. This initially comes from the |
|
|
|
# alias of, or self.name. This initially comes from the |
|
|
|
# registry, and may get updated if it turns out our alias is |
|
|
|
# registry, and may get updated if it turns out our alias is |
|
|
|
# itself an alias (for example glFramebufferTextureEXT -> |
|
|
|
# itself an alias (for example glFramebufferTextureEXT -> |
|
|
|
# glFramebufferTextureARB -> glFramebufferTexture) |
|
|
|
# glFramebufferTextureARB -> glFramebufferTexture) |
|
|
@ -139,8 +139,6 @@ class GLFunction(object): |
|
|
|
loader, self.name) |
|
|
|
loader, self.name) |
|
|
|
|
|
|
|
|
|
|
|
def add_alias(self, ext): |
|
|
|
def add_alias(self, ext): |
|
|
|
# We don't support transitivity of aliases. |
|
|
|
|
|
|
|
assert not ext.alias_exts |
|
|
|
|
|
|
|
assert self.alias_func is None |
|
|
|
assert self.alias_func is None |
|
|
|
|
|
|
|
|
|
|
|
self.alias_exts.append(ext) |
|
|
|
self.alias_exts.append(ext) |
|
|
|