Native image.copyPixels + alphaImage fix
This commit is contained in:
@@ -214,7 +214,7 @@ namespace lime {
|
||||
int alphaPosition;
|
||||
RGBA alphaPixel;
|
||||
|
||||
Rectangle alphaRect = Rectangle (alphaPoint->x, alphaPoint->y, alphaImage->width, alphaImage->height);
|
||||
Rectangle alphaRect = Rectangle (sourceView.x + alphaPoint->x, sourceView.y + alphaPoint->y, sourceView.width, sourceView.height);
|
||||
ImageDataView alphaView = ImageDataView (alphaImage, &alphaRect);
|
||||
|
||||
destView.Clip (destPoint->x, destPoint->y, alphaView.width, alphaView.height);
|
||||
|
||||
Reference in New Issue
Block a user