]> git.sesse.net Git - movit/blobdiff - effect_chain_test.cpp
Add a few check_error() calls.
[movit] / effect_chain_test.cpp
index 66247c163a1b6f0981aadc5962f786d7b4a2ed34..a760853772d791c02ac55a0f1a5fe8115688749a 100644 (file)
@@ -1024,7 +1024,9 @@ TEST(EffectChainTest, IdentityWithOwnPool) {
        chain.render_to_fbo(fbo, width, height);
 
        glBindFramebuffer(GL_FRAMEBUFFER, fbo);
+       check_error();
        glReadPixels(0, 0, width, height, GL_RED, GL_FLOAT, out_data);
+       check_error();
 
        expect_equal(expected_data, out_data, width, height);