Commit 22c28d9f authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

d3d11: Use CreateDXGIFactory1 to create factory in D3D11CreateDevice.

parent 7e4453c4
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment