]> git.sesse.net Git - movit/blobdiff - effect_chain_test.cpp
MipmapGenerationWorks should be run with linear in/out (there was a cut-and-paste...
[movit] / effect_chain_test.cpp
index 0a5a93e6e59c18c8c432f821bdc87b8dadabb7f3..ca208da50cac7acaa54742357204e3c6b9fc6ec8 100644 (file)
@@ -268,9 +268,9 @@ TEST(EffectChainTest, MipmapGenerationWorks) {
                0.25f,    0.25f,    0.25f,    0.25f,
        };
        float out_data[16 * 4];
-       EffectChainTester tester(data, 4, 16, FORMAT_GRAYSCALE, COLORSPACE_sRGB, GAMMA_REC_709);
+       EffectChainTester tester(data, 4, 16, FORMAT_GRAYSCALE, COLORSPACE_sRGB, GAMMA_LINEAR);
        tester.get_chain()->add_effect(new MipmapNeedingEffect());
-       tester.run(out_data, GL_RED, COLORSPACE_sRGB, GAMMA_REC_709);
+       tester.run(out_data, GL_RED, COLORSPACE_sRGB, GAMMA_LINEAR);
 
        expect_equal(expected_data, out_data, 4, 16);
 }