Prevent TFT_eSprite::pushToSprite() to skips pixels when dealing with transparency.

This commit is contained in:
LeFauve
2022-02-05 11:40:55 +10:00
parent 9ff32bf501
commit 64afd184dc

View File

@@ -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;