Update colorMatrix alpha table

This commit is contained in:
Joshua Granick
2016-09-13 13:54:21 -07:00
parent 66e2d000b2
commit a5d88fc022
2 changed files with 2 additions and 2 deletions

View File

@@ -103,9 +103,8 @@ abstract ColorMatrix(Float32Array) from Float32Array to Float32Array {
}
var value:Int;
__alphaTable[0] = 0;
for (i in 1...256) {
value = Math.floor (i * alphaMultiplier + alphaOffset);

View File

@@ -75,6 +75,7 @@ namespace lime {
void ColorMatrix::GetAlphaTable (unsigned char* table) {
GetDataTable (table, GetAlphaMultiplier (), GetAlphaOffset ());
table[0] = 0;
}