Merge commit '2c809389ad7d8953b10e7ab3b1b29aca4d072116' into 1.6

This commit is contained in:
Wojtek Figat
2023-06-01 01:06:27 +02:00
12 changed files with 141 additions and 92 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;
}