X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=effect_chain.h;h=992fb58da2e172969b178c3ac012746ab4673fe9;hb=206d6ba316f94fdc3b7cbd16f23cdcaeb370ad9f;hp=8d75e8a7bd1b6dbad1363608529271c4fd7ae471;hpb=1461e278260d54c1536970cbc60c0a709769a791;p=movit diff --git a/effect_chain.h b/effect_chain.h index 8d75e8a..992fb58 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -397,8 +397,10 @@ public: // Only one destination texture is supported. This restriction will be lifted // in the future. // - // All destination textures must be exactly of size x . - // width and height can not be zero. + // All destination textures must be exactly of size x , + // and must either come from the same ResourcePool the effect uses, or outlive + // the EffectChain (otherwise, we could be allocating FBOs that end up being + // stale). width and height can not be zero. struct DestinationTexture { GLuint texnum; GLenum format;