Cleanup.
This commit is contained in:
parent
0ed78a0753
commit
831dfcf9dd
@ -450,7 +450,7 @@ namespace bgfx
|
|||||||
const uint32_t width = (bx::uint32_min(m_width, _width +_x)-_x)*2;
|
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 height = bx::uint32_min(m_height, _height+_y)-_y;
|
||||||
const uint32_t dstPitch = m_width*2;
|
const uint32_t dstPitch = m_width*2;
|
||||||
bx::memcpy(dst, src, width, height, _pitch, dstPitch);
|
bx::memCopy(dst, src, width, height, _pitch, dstPitch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2913,7 +2913,7 @@ namespace bgfx { namespace d3d9
|
|||||||
, mip.m_format
|
, mip.m_format
|
||||||
);
|
);
|
||||||
|
|
||||||
bx::memcpy(bits, temp, pitch, height, srcpitch, pitch);
|
bx::memCopy(bits, temp, pitch, height, srcpitch, pitch);
|
||||||
|
|
||||||
BX_FREE(g_allocator, temp);
|
BX_FREE(g_allocator, temp);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user