]> git.sesse.net Git - movit/commitdiff
Fix some comment formatting.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 1 Mar 2016 00:00:51 +0000 (01:00 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 1 Mar 2016 00:00:51 +0000 (01:00 +0100)
effect_chain.cpp

index b0a14777287733fe5c1210ca0d0e6b38e77cfa32..60c65f81b743fe48148080d21a829aa16eb4163a 100644 (file)
@@ -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;