1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-23 10:54:14 +01:00

[d3d11] Don't call Flush from swap chain code

Use internal function instead.
This commit is contained in:
Philip Rebohle 2025-02-06 23:25:26 +01:00
parent 9664e0b850
commit 357484bd4b

View File

@ -380,7 +380,7 @@ namespace dxvk {
auto immediateContextLock = immediateContext->LockContext(); auto immediateContextLock = immediateContext->LockContext();
immediateContext->EndFrame(m_latency); immediateContext->EndFrame(m_latency);
immediateContext->Flush(); immediateContext->ExecuteFlush(GpuFlushType::ExplicitFlush, nullptr, true);
m_presenter->setSyncInterval(SyncInterval); m_presenter->setSyncInterval(SyncInterval);