mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[dxgi] Add IDXGIFactory2 to supported interfaces
This commit is contained in:
parent
d1b705bf0d
commit
531732fe91
@ -7,7 +7,8 @@ namespace dxvk {
|
||||
|
||||
HRESULT createDxgiFactory(REFIID riid, void **ppFactory) {
|
||||
if (riid != __uuidof(IDXGIFactory)
|
||||
&& riid != __uuidof(IDXGIFactory1)) {
|
||||
&& riid != __uuidof(IDXGIFactory1)
|
||||
&& riid != __uuidof(IDXGIFactory2)) {
|
||||
Logger::err("CreateDXGIFactory: Requested version of IDXGIFactory not supported");
|
||||
Logger::err(str::format(riid));
|
||||
*ppFactory = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user