Remove unused blend mode 'normal'.

This commit is contained in:
Jürg Lehni 2011-06-01 17:21:14 +01:00
parent f58aa2a23b
commit 0d1fcfbb81

View file

@ -52,13 +52,6 @@ var BlendMode = {
// TODO: Some blend modes seem broken at the moment, e.g. dodge, burn
var modes = {
normal: function(i) {
var sA1 = 1 - sA;
dst[i] = (sRA + dRA * sA1) * rM;
dst[i + 1] = (sGA + dGA * sA1) * rM;
dst[i + 2] = (sBA + dRA * sA1) * rM;
},
multiply: function(i) {
var sA1 = 1 - sA, dA1 = 1 - dA;
dst[i] = (sRA * dRA + sRA * dA1 + dRA * sA1) * rM;