diff options
author | Eric Anholt <eric@anholt.net> | 2013-12-16 09:39:41 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-16 10:43:25 -0800 |
commit | 7a8553f7992705be4d5d443787ef3bbf945c5249 (patch) | |
tree | 07e7f1b2df901110d3d7874aa4c15faecd428720 | |
parent | bf628d9cf36332aff50e09d46a2f0e33a94031b1 (diff) |
Update python comments about aliases.
-rwxr-xr-x | src/gen_dispatch.py | 6 |
1 files 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) |