diff --git a/lime/graphics/Image.hx b/lime/graphics/Image.hx index 2440ecc2b..06d80c307 100644 --- a/lime/graphics/Image.hx +++ b/lime/graphics/Image.hx @@ -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; -} \ No newline at end of file +}