From: Mikko Rasa Date: Fri, 2 Apr 2021 15:21:28 +0000 (+0300) Subject: Fix a misformatted branch in GLSL compiler debug output X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=0901950e663b05c641618b66e19ac2b6b3536bc5 Fix a misformatted branch in GLSL compiler debug output --- 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)