1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-13 19:29:14 +01:00

[d3d11] Initialize feature level to zero in D3D11CreateDevice

Fixes a wine test failure.
This commit is contained in:
Philip Rebohle 2019-10-11 17:01:23 +02:00
parent d8c3002b92
commit 554b77b47a
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -115,6 +115,9 @@ extern "C" {
InitReturnPtr(ppSwapChain);
InitReturnPtr(ppImmediateContext);
if (pFeatureLevel)
*pFeatureLevel = D3D_FEATURE_LEVEL(0);
HRESULT hr;
Com<IDXGIFactory> dxgiFactory = nullptr;