Skip to content

Commit

Permalink
Swirl tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
dashodanger committed Oct 11, 2023
1 parent 7b289f7 commit 49d8c9f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source_files/epi/image_data.cc
Original file line number Diff line number Diff line change
Expand Up @@ -701,8 +701,7 @@ void image_data_c::Swirl(int leveltime, int thickness)
u8_t *src = pixels + (y1 * width + x1) * bpp;
u8_t *dest = new_pixels + (y * width + x) * bpp;

for (int i = 0; i < bpp; i++)
*dest++ = *src++;
memcpy(dest, src, bpp);
}
}
delete[] pixels;
Expand Down

0 comments on commit 49d8c9f

Please sign in to comment.