mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 10:54:16 +01:00
[d3d11] Fix error handling in SetMaximumFrameLatency
Fixes a wine test failure.
This commit is contained in:
parent
2cb9d34f8f
commit
0d1048fa87
@ -2662,7 +2662,7 @@ namespace dxvk {
|
||||
MaxLatency = DefaultFrameLatency;
|
||||
|
||||
if (MaxLatency > m_frameEvents.size())
|
||||
MaxLatency = m_frameEvents.size();
|
||||
return DXGI_ERROR_INVALID_CALL;
|
||||
|
||||
m_frameLatency = MaxLatency;
|
||||
return S_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user