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

Signed-off-by: jiaweig <51759646+jiaweig-amzn@users.noreply.github.com>
monroegm-disable-blank-issue-2
jiaweig 4 years ago committed by GitHub
parent 21a254e9dc
commit d5081a47db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save