1
0
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:
Philip Rebohle 2018-05-23 01:32:52 +02:00
parent d1b705bf0d
commit 531732fe91
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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;