]> git.sesse.net Git - movit/blobdiff - effect_chain.cpp
Rename needs_many_samples() to needs_texture_bounce(), and update the comment.
[movit] / effect_chain.cpp
index e728963759a7f85c85c86f29e304a72c7d8f315b..fcf94f8505299c0ec12156c8ab427b06e9fa73c0 100644 (file)
@@ -208,7 +208,7 @@ void EffectChain::finalize()
        // and of course at the end.
        unsigned start = 0;
        for (unsigned i = 0; i < effects.size(); ++i) {
-               if (effects[i]->needs_many_samples() && i != start) {
+               if (effects[i]->needs_texture_bounce() && i != start) {
                        phases.push_back(compile_glsl_program(start, i));
                        start = i;
                }