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:
parent
0f15c60192
commit
aa35cdbb18
@ -2483,7 +2483,7 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
} catch (const DxvkError& e) {
|
||||
Logger::err(e.message());
|
||||
return DXGI_ERROR_UNSUPPORTED;
|
||||
return E_INVALIDARG;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user