X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.h;h=716a970a3ab59748e99d94da43b2a9239fdca871;hp=8d75e8a7bd1b6dbad1363608529271c4fd7ae471;hb=094bfbb35f1af70ef07890ac7735006cdc195cca;hpb=3b9957afac0555a126d1941d7027fb52e29b309a diff --git a/effect_chain.h b/effect_chain.h index 8d75e8a..716a970 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -397,7 +397,12 @@ public: // Only one destination texture is supported. This restriction will be lifted // in the future. // - // All destination textures must be exactly of size x . + // 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). Textures must also have valid state; in particular, they must either + // be mipmap complete or have a non-mipmapped minification mode. + // // width and height can not be zero. struct DestinationTexture { GLuint texnum;