Merge pull request #281 from starburst997/patch-1

Fix HTML5 CopyPixels
This commit is contained in:
Joshua Granick
2014-12-04 13:27:53 -08:00

View File

@@ -252,6 +252,7 @@ class Image {
case CANVAS:
ImageCanvasUtil.convertToCanvas (this);
ImageCanvasUtil.copyPixels (this, sourceImage, sourceRect, destPoint, alphaImage, alphaPoint, mergeAlpha);
case DATA:
@@ -1196,4 +1197,4 @@ enum ImageChannel {
BLUE;
ALPHA;
}
}