X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=effect_chain.cpp;h=a4d9c86761a48458a35a340ee5884c3156ac670a;hb=8ee9712bae3cff206b3e3205748633edb33cbbcf;hp=c6bac8078e13b10ed9af621e9b00e80f9cfa8361;hpb=e683d4e49549b2d4c6906d2ebc4184904f4fe9f8;p=movit diff --git a/effect_chain.cpp b/effect_chain.cpp index c6bac80..a4d9c86 100644 --- a/effect_chain.cpp +++ b/effect_chain.cpp @@ -2172,7 +2172,7 @@ void EffectChain::execute_phase(Phase *phase, if (phase->is_compute_shader) { unsigned x, y, z; - phase->output_node->effect->get_compute_dimensions(phase->output_width, phase->output_height, &x, &y, &z); + phase->compute_shader_node->effect->get_compute_dimensions(phase->output_width, phase->output_height, &x, &y, &z); // Uniforms need to come after set_gl_state() _and_ get_compute_dimensions(), // since they can be updated from there.