D3D12: Fixed texture barrier state after destruction.

This commit is contained in:
Branimir Karadžić 2018-02-06 17:17:24 -08:00
parent a0fd120bc5
commit 099e6b9e00

View File

@ -4888,7 +4888,8 @@ data.NumQualityLevels = 0;
}
s_renderD3D12->m_cmd.release(m_ptr);
m_ptr = NULL;
m_ptr = NULL;
m_state = D3D12_RESOURCE_STATE_COMMON;
}
}