From 7b7dd825581377d3476b9647d5c36755729219c3 Mon Sep 17 00:00:00 2001 From: mathieuanthoine Date: Sun, 6 Nov 2016 18:38:07 +0100 Subject: [PATCH] Fix ColorMatrix tint method --- starling/src/starling/filters/ColorMatrixFilter.as | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/starling/src/starling/filters/ColorMatrixFilter.as b/starling/src/starling/filters/ColorMatrixFilter.as index a9fc550c1..f78a09591 100644 --- a/starling/src/starling/filters/ColorMatrixFilter.as +++ b/starling/src/starling/filters/ColorMatrixFilter.as @@ -145,9 +145,9 @@ package starling.filters var bA:Number = amount * b; concatValues( - q + rA * LUMA_R, rA * LUMA_G, rA * LUMA_B, 0, 0, - gA * LUMA_R, q + gA * LUMA_G, gA * LUMA_B, 0, 0, - bA * LUMA_R, bA * LUMA_G, q + bA * LUMA_B, 0, 0, + q + rA , rA , rA , 0, 0, + gA , q + gA , gA , 0, 0, + bA , bA , q + bA , 0, 0, 0, 0, 0, 1, 0); }