X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fdebug.cpp;h=9336db618ac2a75dd9f5ed1f3077eff31a548f1e;hp=2e8433f28287713ca215c0a33e0df669cd6b1f55;hb=0901950e663b05c641618b66e19ac2b6b3536bc5;hpb=2576b6182929e26af1db22811665cf88f8f20e8e diff --git a/source/glsl/debug.cpp b/source/glsl/debug.cpp index 2e8433f2..9336db61 100644 --- a/source/glsl/debug.cpp +++ b/source/glsl/debug.cpp @@ -395,7 +395,7 @@ void DumpTree::visit(InterfaceBlock &iface) vector 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)