Fix/update swapchain recreation on vsync interval changes (#5502)

Signed-off-by: jiaweig <51759646+jiaweig-amzn@users.noreply.github.com>
This commit is contained in:
jiaweig
2021-11-10 13:32:23 -08:00
committed by GitHub
parent 21a254e9dc
commit d5081a47db
@@ -78,8 +78,7 @@ namespace AZ
{
// The presentation mode may change when transitioning to or from a vsynced presentation mode
// In this case, the swapchain must be recreated.
InvalidateNativeSwapChain();
CreateSwapchain();
m_pendingRecreation = true;
}
}