mirror of
https://github.com/reactos/wine.git
synced 2025-03-06 03:37:28 +00:00
d3d11: Use CreateDXGIFactory1 to create factory in D3D11CreateDevice.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7e4453c4fb
commit
22c28d9f5c
@ -176,7 +176,7 @@ HRESULT WINAPI D3D11CreateDevice(IDXGIAdapter *adapter, D3D_DRIVER_TYPE driver_t
|
||||
}
|
||||
else
|
||||
{
|
||||
hr = CreateDXGIFactory(&IID_IDXGIFactory, (void **)&factory);
|
||||
hr = CreateDXGIFactory1(&IID_IDXGIFactory, (void **)&factory);
|
||||
if (FAILED(hr))
|
||||
{
|
||||
WARN("Failed to create dxgi factory, returning %#x.\n", hr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user