Minor fix in copyPixels (null alphaPoint with alphaImage)

This commit is contained in:
Joshua Granick
2015-08-26 10:03:34 -07:00
parent b10a876307
commit 2839d21a78

View File

@@ -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;