Skip to content

Commit bc8151d

Browse files
TheLastRarF0bes
authored andcommitted
GS/DX12: Fix recreating swapchain failing on vsync mode changes
1 parent 4e38698 commit bc8151d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pcsx2/GS/Renderers/DX12/GSDevice12.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,7 @@ void GSDevice12::SetVSyncMode(GSVSyncMode mode, bool allow_present_throttle)
788788

789789
if (GetSwapChainBufferCount() != old_buffer_count)
790790
{
791+
ExecuteCommandList(true);
791792
DestroySwapChain();
792793
if (!CreateSwapChain())
793794
pxFailRel("Failed to recreate swap chain after vsync change.");

0 commit comments

Comments
 (0)