From 7a8553f7992705be4d5d443787ef3bbf945c5249 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 16 Dec 2013 09:39:41 -0800 Subject: Update python comments about aliases. --- src/gen_dispatch.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gen_dispatch.py b/src/gen_dispatch.py index dabca02..64c474a 100755 --- a/src/gen_dispatch.py +++ b/src/gen_dispatch.py @@ -83,8 +83,8 @@ class GLFunction(object): # list. self.args_decl = 'void' - # If present, this is the string name of the function that - # this is an alias of. This initially comes from the + # This is the string name of the function that this is an + # alias of, or self.name. This initially comes from the # registry, and may get updated if it turns out our alias is # itself an alias (for example glFramebufferTextureEXT -> # glFramebufferTextureARB -> glFramebufferTexture) @@ -139,8 +139,6 @@ class GLFunction(object): loader, self.name) def add_alias(self, ext): - # We don't support transitivity of aliases. - assert not ext.alias_exts assert self.alias_func is None self.alias_exts.append(ext) -- cgit v1.2.3