mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
D3DBase: Use the correct version of CreateDXGIFactory.
This commit is contained in:
parent
99d61906cc
commit
8906b26ea5
2 changed files with 8 additions and 5 deletions
|
@ -82,9 +82,9 @@ void VideoBackend::InitBackendInfo()
|
|||
g_Config.backend_info.bSupportsDynamicSamplerIndexing = false;
|
||||
g_Config.backend_info.bSupportsBPTCTextures = false;
|
||||
|
||||
IDXGIFactory* factory;
|
||||
IDXGIFactory2* factory;
|
||||
IDXGIAdapter* ad;
|
||||
hr = DX11::PCreateDXGIFactory(__uuidof(IDXGIFactory), (void**)&factory);
|
||||
hr = DX11::PCreateDXGIFactory(__uuidof(IDXGIFactory2), (void**)&factory);
|
||||
if (FAILED(hr))
|
||||
PanicAlert("Failed to create IDXGIFactory object");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue