mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[dxgi] Correct return values for CreateDXGIFactory[1/2]
This commit is contained in:
parent
ccf24db428
commit
62a833b528
@ -11,7 +11,7 @@ namespace dxvk {
|
||||
HRESULT hr = factory->QueryInterface(riid, ppFactory);
|
||||
|
||||
if (FAILED(hr))
|
||||
return DXGI_ERROR_UNSUPPORTED;
|
||||
return hr;
|
||||
|
||||
return S_OK;
|
||||
} catch (const DxvkError& e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user