X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=saturation_effect_test.cpp;h=80b56a7d37fc98d92b2ac55540173ede64736879;hp=f6213c264bd966b7acf6175bcc74c58676a6cc5b;hb=099d2517954be3915504cd1fca99d42ce077f230;hpb=7f7488620d1a4644cec64316bd525aa86474e470 diff --git a/saturation_effect_test.cpp b/saturation_effect_test.cpp index f6213c2..80b56a7 100644 --- a/saturation_effect_test.cpp +++ b/saturation_effect_test.cpp @@ -55,7 +55,7 @@ TEST(SaturationEffectTest, DoubleSaturation) { }; float out_data[3 * 4]; - EffectChainTester tester(data, 5, 1, FORMAT_RGBA, COLORSPACE_sRGB, GAMMA_LINEAR); + EffectChainTester tester(data, 3, 1, FORMAT_RGBA, COLORSPACE_sRGB, GAMMA_LINEAR); Effect *saturation_effect = tester.get_chain()->add_effect(new SaturationEffect()); ASSERT_TRUE(saturation_effect->set_float("saturation", 2.0f)); tester.run(out_data, GL_RGBA, COLORSPACE_sRGB, GAMMA_LINEAR);