GS: Check feature level 12 as a requirement when selecting auto renderer on intel.

Just to be on the safe side when selecting OpenGL.
This commit is contained in:
lightningterror 2024-10-22 02:11:24 +02:00 committed by Ty
parent 6d3d5ebdc5
commit 2a81a7af9e
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ GSRendererType D3D::GetPreferredRenderer()
};
const auto get_d3d12_device = [&adapter]() {
wil::com_ptr_nothrow<ID3D12Device> device;
const HRESULT hr = D3D12CreateDevice(adapter.get(), D3D_FEATURE_LEVEL_11_0, IID_PPV_ARGS(device.put()));
const HRESULT hr = D3D12CreateDevice(adapter.get(), D3D_FEATURE_LEVEL_12_0, IID_PPV_ARGS(device.put()));
if (FAILED(hr))
Console.Error("D3D12CreateDevice() for automatic renderer failed: %08X", hr);
return device;