diff --git a/src/renderer_d3d12.cpp b/src/renderer_d3d12.cpp index 2c4f686f..63515abc 100644 --- a/src/renderer_d3d12.cpp +++ b/src/renderer_d3d12.cpp @@ -571,6 +571,7 @@ namespace bgfx { namespace d3d12 for (uint32_t ii = 0; DXGI_ERROR_NOT_FOUND != m_factory->EnumAdapters(ii, &adapter); ++ii) { adapter->GetDesc(&m_adapterDesc); + DX_RELEASE(adapter, 0); if (m_adapterDesc.AdapterLuid.LowPart == luid.LowPart && m_adapterDesc.AdapterLuid.HighPart == luid.HighPart) {