Ignore vid_maxfps when vsync is enabled.

Increase vid_maxfps to 500 as modern computers have monitors in the 240-500 hz range now.
This commit is contained in:
Magnus Norddahl 2024-03-28 07:30:09 +01:00
commit 0b9c8efa58
2 changed files with 3 additions and 2 deletions

View file

@ -204,7 +204,8 @@ void VkCommandBufferManager::WaitForCommands(bool finish, bool uploadOnly)
if (finish)
{
fb->FPSLimit();
if (!fb->GetVSync())
fb->FPSLimit();
fb->GetFramebufferManager()->QueuePresent();
}