mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 13:32:59 +01:00
Cleanup.
This commit is contained in:
@@ -4894,6 +4894,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||
: 0
|
||||
;
|
||||
|
||||
bool depth = isDepth(TextureFormat::Enum(src.m_textureFormat) );
|
||||
deviceCtx->CopySubresourceRegion(dst.m_ptr
|
||||
, dstZ*dst.m_numMips+blit.m_dstMip
|
||||
, blit.m_dstX
|
||||
@@ -4901,7 +4902,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||
, 0
|
||||
, src.m_ptr
|
||||
, srcZ*src.m_numMips+blit.m_srcMip
|
||||
, isDepth((TextureFormat::Enum)src.m_textureFormat) ? NULL : &box
|
||||
, depth ? NULL : &box
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user