mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[util] Use chrono literal for ms in fps limiter
This commit is contained in:
parent
5fcc9a1bd1
commit
d1e2b89282
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue