when my computer have more than 4 gpu, it's debug break on
@@ -278,7 +278,7 @@ namespace bgfx
{
AdapterI* adapter;
for (uint32_t ii = 0
- ; DXGI_ERROR_NOT_FOUND != m_factory->EnumAdapters(ii, reinterpret_cast<IDXGIAdapter**>(&adapter) ) && ii < BX_COUNTOF(_caps.gpu)
+ ; ii < BX_COUNTOF(_caps.gpu) && DXGI_ERROR_NOT_FOUND != m_factory->EnumAdapters(ii, reinterpret_cast<IDXGIAdapter**>(&adapter) )
; ++ii
)