mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 13:32:59 +01:00
Cleanup.
This commit is contained in:
@@ -1867,13 +1867,7 @@ namespace bgfx { namespace d3d11
|
||||
|
||||
uint32_t pitch = bx::uint32_min(srcPitch, dstPitch);
|
||||
|
||||
for (uint32_t yy = 0, height = srcHeight; yy < height; ++yy)
|
||||
{
|
||||
bx::memCopy(dst, src, pitch);
|
||||
|
||||
src += srcPitch;
|
||||
dst += dstPitch;
|
||||
}
|
||||
bx::memCopy(dst, dstPitch, src, srcPitch, pitch, srcHeight);
|
||||
|
||||
m_deviceCtx->Unmap(texture.m_ptr, _mip);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user