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

Commit 79c9f916 authored by Derek Sollenberger's avatar Derek Sollenberger
Browse files

Remove invalid premul step from HWUI's matrix color filter.

bug: 16186699
Change-Id: Ia0b828e76ce4831ee9e3b4f54c697e6017f1604d
parent 95d9ad0f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -328,8 +328,7 @@ const char* gFS_Main_ApplyColorOp[3] = {
        "",
        // Matrix
        "    fragColor *= colorMatrix;\n"
        "    fragColor += colorMatrixVector;\n"
        "    fragColor.rgb *= fragColor.a;\n",
        "    fragColor += colorMatrixVector;\n",
        // PorterDuff
        "    fragColor = blendColors(colorBlend, fragColor);\n"
};