mirror of
https://github.com/Relintai/texture_packer.git
synced 2024-11-10 10:12:10 +01:00
Fix typo.
This commit is contained in:
parent
a0fe53dc24
commit
54ab3d3bc7
@ -111,7 +111,7 @@ void TexturePacker::merge() {
|
||||
|
||||
int indx = 0;
|
||||
for (int y = 0; y < r->h; ++y) {
|
||||
int start_indx = r->y + y * (b.size.w) * 4 + (r->x * 4);
|
||||
int start_indx = (r->y + y) * b.size.w * 4 + (r->x * 4);
|
||||
|
||||
int row_width = r->w * 4;
|
||||
for (int x = 0; x < row_width; ++x) {
|
||||
|
Loading…
Reference in New Issue
Block a user