]> git.sesse.net Git - movit/blobdiff - effect_chain.cpp
Correct/update a comment on rounding.
[movit] / effect_chain.cpp
index 9b77ef032f49f5359df6fb1925852b1b9b6bc610..5e43474c457e8cc7dca3db7054fb8e6b6581e3d8 100644 (file)
@@ -1,5 +1,3 @@
-#define GL_GLEXT_PROTOTYPES 1
-
 #include <epoxy/gl.h>
 #include <assert.h>
 #include <math.h>
@@ -1758,13 +1756,6 @@ void EffectChain::render_to_fbo(GLuint dest_fbo, unsigned width, unsigned height
                }
        }
 
-       for (set<GLint>::iterator attr_it = bound_attribute_indices.begin();
-            attr_it != bound_attribute_indices.end();
-            ++attr_it) {
-               glDisableVertexAttribArray(*attr_it);
-               check_error();
-       }
-
        for (map<Phase *, GLuint>::const_iterator texture_it = output_textures.begin();
             texture_it != output_textures.end();
             ++texture_it) {