X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.cpp;h=a9b892725358039173725feea5306692f3432988;hp=68a60737878a76553b1e9f66b88cc692b0532a8a;hb=7221906173f1cf1ce6913cbe9d62d5ca11e9ee0d;hpb=ba6838ec8b6fb972ccda17b3e6be6e793a4157a3 diff --git a/effect_chain.cpp b/effect_chain.cpp index 68a6073..a9b8927 100644 --- a/effect_chain.cpp +++ b/effect_chain.cpp @@ -727,6 +727,10 @@ void EffectChain::find_color_spaces_for_inputs() default: assert(false); } + + if (node->output_alpha_type == ALPHA_PREMULTIPLIED) { + assert(node->output_gamma_curve == GAMMA_LINEAR); + } } } }