mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-12 13:08:50 +01:00
[d3d11] Fix frame latency based on buffer count
We need to ignore the front buffer here since we synchronize after presentation.
This commit is contained in:
parent
60b6e98529
commit
166d90b04c
@ -685,7 +685,7 @@ namespace dxvk {
|
||||
if (m_frameLatencyCap)
|
||||
maxFrameLatency = std::min(maxFrameLatency, m_frameLatencyCap);
|
||||
|
||||
maxFrameLatency = std::min(maxFrameLatency, m_desc.BufferCount + 1);
|
||||
maxFrameLatency = std::min(maxFrameLatency, m_desc.BufferCount);
|
||||
return maxFrameLatency;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user