diff --git a/src/renderer_d3d12.cpp b/src/renderer_d3d12.cpp index 47f62071e..befc7eb4c 100644 --- a/src/renderer_d3d12.cpp +++ b/src/renderer_d3d12.cpp @@ -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; } }