Update colorMatrix alpha table
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -75,6 +75,7 @@ namespace lime {
|
||||
void ColorMatrix::GetAlphaTable (unsigned char* table) {
|
||||
|
||||
GetDataTable (table, GetAlphaMultiplier (), GetAlphaOffset ());
|
||||
table[0] = 0;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user