]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/debug.cpp
Remove the using declarations from visitors
[libs/gl.git] / source / glsl / debug.cpp
index 6bf6eef9feb818276d6863262fa0bb71c3a797a4..32eb0ec307a05db3904e2313f74008e0127a32c3 100644 (file)
@@ -17,7 +17,7 @@ const std::string &DumpTree::apply(Stage &stage)
        for(map<string, VariableDeclaration *>::const_iterator i=stage.out_variables.begin(); i!=stage.out_variables.end(); ++i)
                append(format("Output: %%%d %s %s", get_label(*i->second), i->second->type, i->first));
        last_branch();
-       visit(stage.content);
+       stage.content.visit(*this);
        return formatted;
 }