diff --git a/src/d3d11/d3d11_main.cpp b/src/d3d11/d3d11_main.cpp index 266e4f280..f05867075 100644 --- a/src/d3d11/d3d11_main.cpp +++ b/src/d3d11/d3d11_main.cpp @@ -118,7 +118,7 @@ extern "C" { Logger::warn("D3D11CreateDevice: Unsupported driver type"); // We'll use the first adapter returned by a DXGI factory - if (FAILED(CreateDXGIFactory(__uuidof(IDXGIFactory), reinterpret_cast(&dxgiFactory)))) { + if (FAILED(CreateDXGIFactory1(__uuidof(IDXGIFactory), reinterpret_cast(&dxgiFactory)))) { Logger::err("D3D11CreateDevice: Failed to create a DXGI factory"); return E_FAIL; }