[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:
Philip Rebohle 2023-06-22 15:38:09 +02:00
parent 60b6e98529
commit 166d90b04c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}