Merge pull request #1613 from LeFauve/Fix-transparency-bug-in-sprites
Prevent TFT_eSprite::pushToSprite() to skips pixels when dealing with…
This commit is contained in:
commit
8c5f269a32
|
|
@ -785,7 +785,7 @@ bool TFT_eSprite::pushToSprite(TFT_eSprite *dspr, int32_t x, int32_t y, uint16_t
|
||||||
ox += pixel_count;
|
ox += pixel_count;
|
||||||
pixel_count = 0;
|
pixel_count = 0;
|
||||||
}
|
}
|
||||||
else ox++;
|
ox++;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sline_buffer[pixel_count++] = rp;
|
sline_buffer[pixel_count++] = rp;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue