1
0
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:
Joshua Ashton 2019-02-27 20:24:59 +00:00 committed by Philip Rebohle
parent ccf24db428
commit 62a833b528

View File

@ -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) {