diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-04-28 11:04:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-28 11:04:05 +0200 |
commit | 305b2a15bf1ed950e8e2ed50fa84456b584798fb (patch) | |
tree | abaa1e01ca34382f4ea1d6e24c403ecff1502f39 /modules/pvr | |
parent | 7bca90769cbf7ae29023ca8d83ba7ab3137deda3 (diff) | |
parent | 8247667a3ee0d86f26094e722497b0cbb99cc12b (diff) |
Merge pull request #48239 from akien-mga/goodbye-copymem
Core: Drop custom `copymem`/`zeromem` defines
Diffstat (limited to 'modules/pvr')
-rw-r--r-- | modules/pvr/image_compress_pvrtc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pvr/image_compress_pvrtc.cpp b/modules/pvr/image_compress_pvrtc.cpp index d2d8976694..6cb9837f49 100644 --- a/modules/pvr/image_compress_pvrtc.cpp +++ b/modules/pvr/image_compress_pvrtc.cpp @@ -65,7 +65,7 @@ static void _compress_pvrtc1_4bpp(Image *p_img) { img->get_mipmap_offset_size_and_dimensions(i, ofs, size, w, h); Javelin::RgbaBitmap bm(w, h); void *dst = (void *)bm.GetData(); - copymem(dst, &r[ofs], size); + memcpy(dst, &r[ofs], size); Javelin::ColorRgba<unsigned char> *dp = bm.GetData(); for (int j = 0; j < size / 4; j++) { // Red and blue colors are swapped. |