]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/debug.cpp
Fix a misformatted branch in GLSL compiler debug output
[libs/gl.git] / 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)