This commit is contained in:
Branimir Karadžić 2016-02-06 14:31:14 -08:00
parent 0ed78a0753
commit 831dfcf9dd
2 changed files with 2 additions and 2 deletions

View File

@ -450,7 +450,7 @@ namespace bgfx
const uint32_t width = (bx::uint32_min(m_width, _width +_x)-_x)*2;
const uint32_t height = bx::uint32_min(m_height, _height+_y)-_y;
const uint32_t dstPitch = m_width*2;
bx::memcpy(dst, src, width, height, _pitch, dstPitch);
bx::memCopy(dst, src, width, height, _pitch, dstPitch);
}
}

View File

@ -2913,7 +2913,7 @@ namespace bgfx { namespace d3d9
, mip.m_format
);
bx::memcpy(bits, temp, pitch, height, srcpitch, pitch);
bx::memCopy(bits, temp, pitch, height, srcpitch, pitch);
BX_FREE(g_allocator, temp);
}