]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix a stupid bug in the extension generator
authorMikko Rasa <tdb@tdb.fi>
Tue, 5 Dec 2017 07:54:06 +0000 (09:54 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 5 Dec 2017 07:54:06 +0000 (09:54 +0200)
scripts/extgen.py

index ff40ec60eadd1f515336f78d4d82eec2e0cfdfff..35f016600487de594fa511d3506f77cb7e5c006b 100755 (executable)
@@ -642,7 +642,7 @@ namespace GL {
                                supp = f.api_support.get(self.host_api.name)
                                src = None
                                for e in self.source_exts:
-                                       if f in e.things:
+                                       if f.name in e.things:
                                                src = f
                                        elif supp:
                                                for s in supp.sources: