Improvements to fix for copyPixels using alpha image (resolve #1707)

This commit is contained in:
Joshua Granick
2017-09-13 16:41:36 -07:00
parent c5184e41bb
commit 411f9d0668
3 changed files with 108 additions and 44 deletions

View File

@@ -49,6 +49,7 @@ namespace lime {
void Clip (int x, int y, int width, int height);
bool HasRow (int y);
void Offset (int x, int y);
int Row (int y);
int x;
@@ -58,8 +59,10 @@ namespace lime {
private:
void __Update ();
int byteOffset;
Image* image;
int offset;
Rectangle* rect;
int stride;