X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Foutput.h;fp=source%2Fglsl%2Foutput.h;h=5f741909062f2f9ada8fce46ae0fc7fe3502e02c;hb=ede0bc3f5c7124ef100576ad4b0890c9cd13c79d;hp=5b03420223c3f70fb57f7f900f6708e2da5efe39;hpb=99719790df8a1215465a68c7b1d87a495bff87eb;p=libs%2Fgl.git diff --git a/source/glsl/output.h b/source/glsl/output.h index 5b034202..5f741909 100644 --- a/source/glsl/output.h +++ b/source/glsl/output.h @@ -23,6 +23,7 @@ public: Formatter(); const std::string &apply(Stage &); + const std::string &apply(Node &n) { n.visit(*this); return formatted; } private: void append(const std::string &);