]> git.sesse.net Git - movit/blobdiff - effect_chain_test.cpp
Add a few check_error() calls.
[movit] / effect_chain_test.cpp
index 70701b35095511d19c45a5bf39a7e14668d004a0..f50d2ead3685db68703d7df412a9e2cb7cf3361b 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);