1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-12 13:08:50 +01:00

[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

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