when my computer have more than 4 gpus, it's break on close when call DX_RELEASE(m_factory, 0) at function Dxgi::shutdown()
because there is an AdapterI object leak if gpu count more than BX_COUNTOF(_caps.gpu), it's should compare first then call EnumAdapters
when my computer have more than 4 gpus, it's break on close when call
DX_RELEASE(m_factory, 0)
at functionDxgi::shutdown()
because there is anAdapterI
object leak if gpu count more thanBX_COUNTOF(_caps.gpu)
, it's should compare first then callEnumAdapters
fix #3305