X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain_test.cpp;h=a760853772d791c02ac55a0f1a5fe8115688749a;hp=66247c163a1b6f0981aadc5962f786d7b4a2ed34;hb=87e2a30d7da9a7778356f1b93593b1296dedff71;hpb=978b6aced44541132951fd1e2ab165fa859a7315 diff --git a/effect_chain_test.cpp b/effect_chain_test.cpp index 66247c1..a760853 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);