mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 11:52:12 +01:00
[dxgi] CreateDXGIFactory now accepts IDXGIFactory1 as a target interface
This commit is contained in:
parent
26373115ac
commit
af30fb3c25
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user