Cleanup.
This commit is contained in:
parent
52a33b8bd3
commit
1cab71734c
@ -3927,9 +3927,9 @@ namespace bgfx
|
||||
dstHeight = bx::min<uint32_t>(dstHeight, _dstY + _height) - _dstY;
|
||||
dstDepth = bx::min<uint32_t>(dstDepth, _dstZ + _depth ) - _dstZ;
|
||||
|
||||
uint16_t width = uint16_t(bx::min(srcWidth, dstWidth) );
|
||||
uint16_t height = uint16_t(bx::min(srcHeight, dstHeight) );
|
||||
uint16_t depth = uint16_t(bx::min(srcDepth, dstDepth) );
|
||||
const uint16_t width = uint16_t(bx::min(srcWidth, dstWidth ) );
|
||||
const uint16_t height = uint16_t(bx::min(srcHeight, dstHeight) );
|
||||
const uint16_t depth = uint16_t(bx::min(srcDepth, dstDepth ) );
|
||||
|
||||
BGFX_ENCODER(blit(_id, _dst, _dstMip, _dstX, _dstY, _dstZ, _src, _srcMip, _srcX, _srcY, _srcZ, width, height, depth) );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user