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:
parent
5fcc9a1bd1
commit
d1e2b89282
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user