1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[d3d11] Fix return code on swap chain creation failure

Fixes a wine test failure.
This commit is contained in:
Philip Rebohle 2019-10-01 22:27:03 +02:00
parent 0f15c60192
commit aa35cdbb18
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -2483,7 +2483,7 @@ namespace dxvk {
return S_OK;
} catch (const DxvkError& e) {
Logger::err(e.message());
return DXGI_ERROR_UNSUPPORTED;
return E_INVALIDARG;
}
}