Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f42ae91 authored by Jean-Luc Brouillet's avatar Jean-Luc Brouillet Committed by Xusong Wang
Browse files

Fix bug in Blend that did not use options.

For one of the many variants of Blend, a cut&paste error made
that the options were not passed.

This was not caught because no test exercised this.

I've added the test (in a related CL) and fixed the bug.

Bug: 178718752
Test: Ran the RS Java tests
Change-Id: Ide2fef96137ffd89e4431cf15be5df398036d909
Merged-In: Ide2fef96137ffd89e4431cf15be5df398036d909
(cherry picked from commit a2c6eb2f)
parent 2775f8a1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ public class ScriptIntrinsicBlend extends ScriptIntrinsic {
     * @param opt LaunchOptions for clipping
     */
    public void forEachSrc(Allocation ain, Allocation aout, Script.LaunchOptions opt) {
        blend(1, ain, aout, null);
        blend(1, ain, aout, opt);
    }

    /**
@@ -641,4 +641,3 @@ public class ScriptIntrinsicBlend extends ScriptIntrinsic {
    }
*/
}