Prevent TFT_eSprite::pushToSprite() to skips pixels when dealing with transparency.
This commit is contained in:
parent
9ff32bf501
commit
64afd184dc
|
|
@ -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