mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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;
|
return S_OK;
|
||||||
} catch (const DxvkError& e) {
|
} catch (const DxvkError& e) {
|
||||||
Logger::err(e.message());
|
Logger::err(e.message());
|
||||||
return DXGI_ERROR_UNSUPPORTED;
|
return E_INVALIDARG;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user