Remove alphaview offset

Offset was causing alpha bitmap to be misaligned
This commit is contained in:
Skerper
2019-01-26 20:12:12 +09:00
committed by Joshua Granick
parent 4595ac7d80
commit c69f483757

View File

@@ -215,7 +215,6 @@ namespace lime {
Rectangle alphaRect = Rectangle (alphaPoint->x, alphaPoint->y, alphaImage->width, alphaImage->height);
ImageDataView alphaView = ImageDataView (alphaImage, &alphaRect);
alphaView.Offset (sourceView.x, sourceView.y);
destView.Clip (destPoint->x, destPoint->y, alphaView.width, alphaView.height);
@@ -893,4 +892,4 @@ namespace lime {
}
}
}