Quellcode durchsuchen

sokol_time.h: add 100 Hz to common refresh rates

Daniel Ludwig vor 4 Jahren
Ursprung
Commit
b347c1201f
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      sokol_time.h

+ 1 - 0
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