Unverified Commit 8c5f269a authored by Bodmer's avatar Bodmer Committed by GitHub

Merge pull request #1613 from LeFauve/Fix-transparency-bug-in-sprites

Prevent TFT_eSprite::pushToSprite() to skips pixels when dealing with…
parents 9ff32bf5 64afd184
...@@ -785,7 +785,7 @@ bool TFT_eSprite::pushToSprite(TFT_eSprite *dspr, int32_t x, int32_t y, uint16_t ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment