]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/output.cpp
Tweaks to visitor classes in the GLSL compiler
[libs/gl.git] / source / glsl / output.cpp
index 6e88fd1f870e6ba554a0fbfa0ddaba93d6347720..973ff8324ac927bdb0d282ff23edf6f7259565c5 100644 (file)
@@ -18,7 +18,7 @@ Formatter::Formatter():
 
 const string &Formatter::apply(Stage &s)
 {
-       SetForScope<Stage *> set_stage(stage, &s);
+       stage = &s;
 
        GLApi api = get_gl_api();
        const Version &ver = s.required_version;