Skip to content

Commit

Permalink
[d3d11] Don't call Flush from swap chain code
Browse files Browse the repository at this point in the history
Use internal function instead.
  • Loading branch information
doitsujin committed Feb 6, 2025
1 parent 9664e0b commit 357484b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d11/d3d11_swapchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ namespace dxvk {
auto immediateContextLock = immediateContext->LockContext();

immediateContext->EndFrame(m_latency);
immediateContext->Flush();
immediateContext->ExecuteFlush(GpuFlushType::ExplicitFlush, nullptr, true);

m_presenter->setSyncInterval(SyncInterval);

Expand Down

0 comments on commit 357484b

Please sign in to comment.