Skip to content

Commit

Permalink
[dxgi] Add IDXGIFactory2 to supported interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
doitsujin committed May 22, 2018
1 parent d1b705b commit 531732f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dxgi/dxgi_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 531732f

Please sign in to comment.