X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.cpp;h=5e43474c457e8cc7dca3db7054fb8e6b6581e3d8;hp=9b77ef032f49f5359df6fb1925852b1b9b6bc610;hb=404e2f8149e8fe48a4bd21b0c464247e1eecc17e;hpb=c1bd648471212ae960a26c1fb518223416a83f4b diff --git a/effect_chain.cpp b/effect_chain.cpp index 9b77ef0..5e43474 100644 --- a/effect_chain.cpp +++ b/effect_chain.cpp @@ -1,5 +1,3 @@ -#define GL_GLEXT_PROTOTYPES 1 - #include #include #include @@ -1758,13 +1756,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) {