Add a high-cutoff filter to the glow effect.
[movit] / saturation_effect_test.cpp
index f6213c2..80b56a7 100644 (file)
@@ -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);