X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.cpp;fp=effect_chain.cpp;h=0c4b7c880b6db009b4b859c09bfb890dd46c586a;hp=9b77ef032f49f5359df6fb1925852b1b9b6bc610;hb=f6dc1c0685ea7d3bb74e00698cb7221cd03c2bc5;hpb=c1bd648471212ae960a26c1fb518223416a83f4b diff --git a/effect_chain.cpp b/effect_chain.cpp index 9b77ef0..0c4b7c8 100644 --- a/effect_chain.cpp +++ b/effect_chain.cpp @@ -1758,13 +1758,6 @@ void EffectChain::render_to_fbo(GLuint dest_fbo, unsigned width, unsigned height } } - for (set::iterator attr_it = bound_attribute_indices.begin(); - attr_it != bound_attribute_indices.end(); - ++attr_it) { - glDisableVertexAttribArray(*attr_it); - check_error(); - } - for (map::const_iterator texture_it = output_textures.begin(); texture_it != output_textures.end(); ++texture_it) {