From af30fb3c25d6bbe80f1f9cad536e3ae949b1bff1 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Tue, 5 Dec 2017 14:05:18 +0100 Subject: [PATCH] [dxgi] CreateDXGIFactory now accepts IDXGIFactory1 as a target interface --- src/dxgi/dxgi_main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dxgi/dxgi_main.cpp b/src/dxgi/dxgi_main.cpp index b7d4f559b..98d84422b 100644 --- a/src/dxgi/dxgi_main.cpp +++ b/src/dxgi/dxgi_main.cpp @@ -17,7 +17,8 @@ namespace dxvk { SdlInstance sdl; HRESULT createDxgiFactory(REFIID riid, void **ppFactory) { - if (riid != __uuidof(IDXGIFactory)) { + if (riid != __uuidof(IDXGIFactory) + && riid != __uuidof(IDXGIFactory1)) { Logger::err("CreateDXGIFactory: Requested version of IDXGIFactory not supported"); return DXGI_ERROR_UNSUPPORTED; }