[util] Use chrono literal for ms in fps limiter

This commit is contained in:
Joshua Ashton 2022-08-16 08:56:01 +00:00 committed by Philip Rebohle
parent 5fcc9a1bd1
commit d1e2b89282
1 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,8 @@
#include "./log/log.h"
using namespace std::chrono_literals;
namespace dxvk {
FpsLimiter::FpsLimiter() {
@ -162,7 +164,7 @@ namespace dxvk {
}
} else {
// Assume 1ms sleep granularity by default
m_sleepGranularity = TimerDuration(10000);
m_sleepGranularity = TimerDuration(1ms);
}
}