mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
fixed updateTexture2D in D3D11
This commit is contained in:
@@ -4594,7 +4594,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||
{
|
||||
layer = _z * (TextureD3D11::TextureCube == m_type ? 6 : 1);
|
||||
box.front = 0;
|
||||
box.back = 0;
|
||||
box.back = 1;
|
||||
}
|
||||
|
||||
const uint32_t subres = _mip + ( (layer + _side) * m_numMips);
|
||||
|
||||
Reference in New Issue
Block a user