vector<EffectChain::DestinationTexture> textures;
for (unsigned i = 0; i < num_outputs; ++i) {
GLuint texnum = chain.get_resource_pool()->create_2d_texture(framebuffer_format, width, height);
textures.push_back(EffectChain::DestinationTexture{texnum, framebuffer_format});
vector<EffectChain::DestinationTexture> textures;
for (unsigned i = 0; i < num_outputs; ++i) {
GLuint texnum = chain.get_resource_pool()->create_2d_texture(framebuffer_format, width, height);
textures.push_back(EffectChain::DestinationTexture{texnum, framebuffer_format});