add a catch for 240hz refresh rates

hopefully 150, 180 and 210hz monitors don't exist
This commit is contained in:
fgsfds 2020-07-09 17:24:15 +03:00
parent 572a4b698b
commit 4b15a8f7b6

View file

@ -133,6 +133,7 @@ int test_vsync(void) {
if (average > 57.0f && average < 63.0f) return 2;
if (average > 86.0f && average < 94.0f) return 3;
if (average > 115.0f && average < 125.0f) return 4;
if (average > 234.0f && average < 246.0f) return 8;
return 0;
}