diff --git a/D3D12Backend/APIWrappers/Device.cpp b/D3D12Backend/APIWrappers/Device.cpp index 0045c57..8588487 100644 --- a/D3D12Backend/APIWrappers/Device.cpp +++ b/D3D12Backend/APIWrappers/Device.cpp @@ -162,6 +162,7 @@ namespace Boolka if (FAILED(hr)) { adapter->Release(); + ++i; continue; } @@ -169,6 +170,7 @@ namespace Boolka { adapter->Release(); device->Release(); + ++i; continue; }