]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/debug.h
Make DumpTree able to dump arbitrary nodes
[libs/gl.git] / source / glsl / debug.h
index da888198414f8a7d891a7884a5ddbedd45d7b4cd..c3e9c701075b87974a7e5101ad635bf0bf8e5d8b 100644 (file)
@@ -38,6 +38,7 @@ private:
 
 public:
        std::string apply(Stage &);
+       std::string apply(Node &n) { n.visit(*this); return formatted; }
 
 private:
        void append(const std::string &);