Minor fix in copyPixels (null alphaPoint with alphaImage)
This commit is contained in:
@@ -239,6 +239,8 @@ class ImageDataUtil {
|
||||
|
||||
} else {
|
||||
|
||||
if (alphaPoint == null) alphaPoint = new Vector2 ();
|
||||
|
||||
var alphaData = alphaImage.buffer.data;
|
||||
var alphaFormat = alphaImage.buffer.format;
|
||||
var alphaPremultiplied = alphaImage.buffer.premultiplied;
|
||||
|
||||
Reference in New Issue
Block a user