X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.cpp;h=a6ed91d5f20a51e406fafc0e79894e0b3f5f2cb0;hp=a549087862a47e5421ebe9b1a0db499911d7729b;hb=2c8eabbbad9eb99409ef03970cbb0b5b46dda025;hpb=62504944698295c8c48d88df124855af6874fdfe diff --git a/effect_chain.cpp b/effect_chain.cpp index a549087..a6ed91d 100644 --- a/effect_chain.cpp +++ b/effect_chain.cpp @@ -729,7 +729,8 @@ bool EffectChain::node_needs_gamma_fix(Node *node) // This needs to be before everything else, since it could // even apply to inputs (if they are the only effect). if (node->outgoing_links.empty() && - node->output_gamma_curve != output_format.gamma_curve) { + node->output_gamma_curve != output_format.gamma_curve && + node->output_gamma_curve != GAMMA_LINEAR) { return true; }