X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=effect_chain.h;h=593232cf01e036f47728ae1fd3d2c756bf6d3d85;hb=233ddaa1c94e8c11ef73740b4d9c1aa31a97dd5c;hp=6452d14952dbbda0a67fe879e45c4b96cd86d37f;hpb=983fe15061b6e199877577b363a9f2fa102cf107;p=movit diff --git a/effect_chain.h b/effect_chain.h index 6452d14..593232c 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -16,8 +16,12 @@ // but if so, the threads' contexts need to be set up to share resources, since // the EffectChain holds textures and other OpenGL objects that are tied to the // context. +// +// Memory management (only relevant if you use multiple contexts): +// See corresponding comment in resource_pool.h. This holds even if you don't +// allocate your own ResourcePool, but let EffectChain hold its own. -#include +#include #include #include #include