Skip to content

Commit

Permalink
Prevent TFT_eSprite::pushToSprite() to skips pixels when dealing with…
Browse files Browse the repository at this point in the history
… transparency.
  • Loading branch information
LeFauve committed Feb 5, 2022
1 parent 9ff32bf commit 64afd18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extensions/Sprite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ bool TFT_eSprite::pushToSprite(TFT_eSprite *dspr, int32_t x, int32_t y, uint16_t
ox += pixel_count;
pixel_count = 0;
}
else ox++;
ox++;
}
else {
sline_buffer[pixel_count++] = rp;
Expand Down

0 comments on commit 64afd18

Please sign in to comment.