From 7f403a37735095a865eff62e29d674d05054cad3 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 1 Mar 2016 01:00:51 +0100 Subject: [PATCH 1/1] Fix some comment formatting. --- effect_chain.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/effect_chain.cpp b/effect_chain.cpp index b0a1477..60c65f8 100644 --- a/effect_chain.cpp +++ b/effect_chain.cpp @@ -1194,11 +1194,10 @@ void EffectChain::propagate_alpha() if (alpha_handling == Effect::INPUT_AND_OUTPUT_PREMULTIPLIED_ALPHA || alpha_handling == Effect::INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK) { // This combination (requiring premultiplied alpha, but _not_ requiring - // linear light) is illegal, // since the combination - // of premultiplied alpha and nonlinear inputs is - // meaningless. + // linear light) is illegal, since the combination of premultiplied alpha + // and nonlinear inputs is meaningless. assert(node->effect->needs_linear_light()); - + // If the effect has asked for premultiplied alpha, check that it has got it. if (any_postmultiplied) { node->output_alpha_type = ALPHA_INVALID; -- 2.39.2