diff options
| author | Daniel Ludwig <codi@code-disaster.com> | 2021-04-17 20:26:35 +0200 |
|---|---|---|
| committer | Daniel Ludwig <codi@code-disaster.com> | 2021-04-17 20:26:35 +0200 |
| commit | b347c1201fc84a76ad9be4fcc7b06d75345caabe (patch) | |
| tree | d01d7ba5870883acf0d5f270f62a97cc1b9f3450 | |
| parent | 6d29bea863954ea46115730842c534a1f05ef13f (diff) | |
sokol_time.h: add 100 Hz to common refresh rates
| -rw-r--r-- | sokol_time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sokol_time.h b/sokol_time.h index 8821da70..3bf1167e 100644 --- a/sokol_time.h +++ b/sokol_time.h @@ -284,6 +284,7 @@ static const uint64_t _stm_refresh_rates[][2] = { { 13333333, 250000 }, // 75 Hz: 13.3333 +- 0.25ms { 11764706, 250000 }, // 85 Hz: 11.7647 +- 0.25 { 11111111, 250000 }, // 90 Hz: 11.1111 +- 0.25ms + { 10000000, 500000 }, // 100 Hz: 10.0000 +- 0.5ms { 8333333, 500000 }, // 120 Hz: 8.3333 +- 0.5ms { 6944445, 500000 }, // 144 Hz: 6.9445 +- 0.5ms { 4166667, 1000000 }, // 240 Hz: 4.1666 +- 1ms |