X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain_test.cpp;h=73f13c7957d7c8c4c0b66ea4cd50f4e464b6462b;hp=f37738d57208345c4afe1ab9f88d7756ec7c6bfd;hb=364e62af360603a5f9ea35a5737230a62bed3d02;hpb=376535a970b25a268bef44cd3c32a3630e605734 diff --git a/effect_chain_test.cpp b/effect_chain_test.cpp index f37738d..73f13c7 100644 --- a/effect_chain_test.cpp +++ b/effect_chain_test.cpp @@ -1228,6 +1228,7 @@ TEST(EffectChainTest, IdentityWithOwnPool) { float out_data[6], temp[6 * 4]; EffectChain chain(width, height); + MovitDebugLevel old_movit_debug_level = movit_debug_level; movit_debug_level = MOVIT_DEBUG_ON; ImageFormat format; @@ -1276,7 +1277,7 @@ TEST(EffectChainTest, IdentityWithOwnPool) { expect_equal(expected_data, out_data, width, height); // Reset the debug status again. - movit_debug_level = MOVIT_DEBUG_OFF; + movit_debug_level = old_movit_debug_level; } // A dummy effect whose only purpose is to test sprintf decimal behavior.