X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fdebug.cpp;fp=source%2Fglsl%2Fdebug.cpp;h=2f243dc73dc0d25518ce341597749f4255f45d8a;hb=2280a09a286bbff2eb41783f8023863f320a3736;hp=8bdce457f0d1c318d56dd193c57309f30bdd0646;hpb=dfcf8ebc329b79c369b88bdbeb982480aa5fc12a;p=libs%2Fgl.git diff --git a/source/glsl/debug.cpp b/source/glsl/debug.cpp index 8bdce457..2f243dc7 100644 --- a/source/glsl/debug.cpp +++ b/source/glsl/debug.cpp @@ -8,7 +8,7 @@ namespace Msp { namespace GL { namespace SL { -const std::string &DumpTree::apply(Stage &stage) +std::string DumpTree::apply(Stage &stage) { formatted = format("Stage: %s\n", Stage::get_stage_name(stage.type)); tree.push_back(BRANCH);