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:
parent
d8c3002b92
commit
554b77b47a
@ -115,6 +115,9 @@ extern "C" {
|
||||
InitReturnPtr(ppSwapChain);
|
||||
InitReturnPtr(ppImmediateContext);
|
||||
|
||||
if (pFeatureLevel)
|
||||
*pFeatureLevel = D3D_FEATURE_LEVEL(0);
|
||||
|
||||
HRESULT hr;
|
||||
|
||||
Com<IDXGIFactory> dxgiFactory = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user