mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue