X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain_test.cpp;h=f50d2ead3685db68703d7df412a9e2cb7cf3361b;hp=70701b35095511d19c45a5bf39a7e14668d004a0;hb=ab89030be6f55cd1955b9e033c62c2e3c3ba2a2f;hpb=de9c0e36aae9272c57596541de19790686669b25 diff --git a/effect_chain_test.cpp b/effect_chain_test.cpp index 70701b3..f50d2ea 100644 --- a/effect_chain_test.cpp +++ b/effect_chain_test.cpp @@ -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);