]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix a misformatted branch in GLSL compiler debug output
authorMikko Rasa <tdb@tdb.fi>
Fri, 2 Apr 2021 15:21:28 +0000 (18:21 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 2 Apr 2021 15:21:28 +0000 (18:21 +0300)
source/glsl/debug.cpp

index 2e8433f28287713ca215c0a33e0df669cd6b1f55..9336db618ac2a75dd9f5ed1f3077eff31a548f1e 100644 (file)
@@ -395,7 +395,7 @@ void DumpTree::visit(InterfaceBlock &iface)
 
        vector<Branch> branches;
        if(iface.type_declaration)
-               append(format("Type: %%%d %s", get_label(*iface.type_declaration), iface.type_declaration->name));
+               branches.push_back(format("Type: %%%d %s", get_label(*iface.type_declaration), iface.type_declaration->name));
        if(iface.layout)
                branches.push_back(iface.layout.get());
        if(iface.members)