mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-06-08 03:13:52 +00:00
DX12: fix invalid state when creating a BLIT_DST texture without mem block (#3656)
* DX12: fix invalid state when creating a BLIT_DST texture without mem block * Only set state when it's not external texture. --------- Co-authored-by: Branimir Karadžić <branimirkaradzic@gmail.com>
This commit is contained in:
@@ -5781,6 +5781,10 @@ namespace bgfx { namespace d3d12
|
||||
|
||||
s_renderD3D12->m_cmd.release(staging);
|
||||
}
|
||||
else if (0 == _external)
|
||||
{
|
||||
setState(commandList, state);
|
||||
}
|
||||
|
||||
if (0 != kk)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user