]> git.sesse.net Git - movit/blobdiff - effect_chain.h
Invert the meaning of the last_phase boolean to execute_phase().
[movit] / effect_chain.h
index dc5e3c4aeb96ca0c585ee63d3c31350c2d6e60c8..038fb1c875e282616db5d2193ea02ade2cfad958 100644 (file)
@@ -458,7 +458,7 @@ private:
        Phase *construct_phase(Node *output, std::map<Node *, Phase *> *completed_effects);
 
        // Execute one phase, ie. set up all inputs, effects and outputs, and render the quad.
-       void execute_phase(Phase *phase, bool last_phase,
+       void execute_phase(Phase *phase, bool render_to_texture,
                           std::map<Phase *, GLuint> *output_textures,
                           std::set<Phase *> *generated_mipmaps);