X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fdebug.h;h=c3e9c701075b87974a7e5101ad635bf0bf8e5d8b;hb=6f06479b765946bdd3174b2c05e7a1dda24c31c2;hp=73976904aee60d09b5b5c51cb3980e7dac90c692;hpb=aa834c69698b5f0804a19fee4ec2e632a51e38c2;p=libs%2Fgl.git diff --git a/source/glsl/debug.h b/source/glsl/debug.h index 73976904..c3e9c701 100644 --- a/source/glsl/debug.h +++ b/source/glsl/debug.h @@ -37,7 +37,8 @@ private: std::vector tree; public: - const std::string &apply(Stage &); + std::string apply(Stage &); + std::string apply(Node &n) { n.visit(*this); return formatted; } private: void append(const std::string &);