mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-02-16 10:40:59 +00:00
Require FL 11.0 for the D3D11VA renderer
We would probably be okay with 10.0 (SM4), but let's not risk encountering GPU driver bugs like we do on old AMD cards.
This commit is contained in:
@@ -162,6 +162,7 @@ D3D11VARenderer::~D3D11VARenderer()
|
||||
|
||||
bool D3D11VARenderer::createDeviceByAdapterIndex(int adapterIndex, bool* adapterNotFound)
|
||||
{
|
||||
const D3D_FEATURE_LEVEL supportedFeatureLevels[] = { D3D_FEATURE_LEVEL_11_0, D3D_FEATURE_LEVEL_11_1 };
|
||||
bool success = false;
|
||||
IDXGIAdapter1* adapter = nullptr;
|
||||
DXGI_ADAPTER_DESC1 adapterDesc;
|
||||
@@ -211,8 +212,8 @@ bool D3D11VARenderer::createDeviceByAdapterIndex(int adapterIndex, bool* adapter
|
||||
| D3D11_CREATE_DEVICE_DEBUG
|
||||
#endif
|
||||
,
|
||||
nullptr,
|
||||
0,
|
||||
supportedFeatureLevels,
|
||||
ARRAYSIZE(supportedFeatureLevels),
|
||||
D3D11_SDK_VERSION,
|
||||
&m_Device,
|
||||
&featureLevel,
|
||||
|
||||
Reference in New Issue
Block a user