Merge branch 'dxgifactory_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dxgifactory_fix

This commit is contained in:
Wojtek Figat
2023-05-30 10:25:49 +02:00
2 changed files with 0 additions and 18 deletions

View File

@@ -221,15 +221,6 @@ GPUDevice* GPUDeviceDX11::Create()
Delete(device);
return nullptr;
}
#if PLATFORM_WINDOWS
if (dxgiFactory6 != nullptr)
dxgiFactory6->Release();
else
#endif
{
dxgiFactory->Release();
}
return device;
}

View File

@@ -202,15 +202,6 @@ GPUDevice* GPUDeviceDX12::Create()
return nullptr;
}
#if !(PLATFORM_XBOX_SCARLETT || PLATFORM_XBOX_ONE)
if (dxgiFactory6 != nullptr)
dxgiFactory6->Release();
else
#endif
{
dxgiFactory->Release();
}
return device;
}