Runtime fix

This commit is contained in:
Joshua Granick
2015-06-17 10:48:08 -07:00
parent 14742c1d23
commit 0c578f229f

View File

@@ -946,7 +946,8 @@ class Image {
if (data != null) { if (data != null) {
__fromImageBuffer (new ImageBuffer (new UInt8Array (data.data), data.width, data.height, data.bpp)); var byteArray:ByteArray = data.data;
__fromImageBuffer (new ImageBuffer (new UInt8Array (byteArray), data.width, data.height, data.bpp));
if (onload != null) { if (onload != null) {