X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=effect_chain.cpp;h=c6f1e89af7b2cbef25919ff922f9bc6c1bc2258c;hb=86cdfc6ea4318cfe6fd5d4bef51daf00f480973a;hp=ca6905bf53c177f3f5988dc2f08173b3b495584a;hpb=983fe15061b6e199877577b363a9f2fa102cf107;p=movit diff --git a/effect_chain.cpp b/effect_chain.cpp index ca6905b..c6f1e89 100644 --- a/effect_chain.cpp +++ b/effect_chain.cpp @@ -1493,8 +1493,7 @@ void EffectChain::execute_phase(Phase *phase, bool last_phase, mapcreate_fbo(context, (*output_textures)[phase]); + fbo = resource_pool->create_fbo((*output_textures)[phase]); glBindFramebuffer(GL_FRAMEBUFFER, fbo); glViewport(0, 0, phase->output_width, phase->output_height); }