use mode based freq calc on all drivers

icc-effect-5.14.5
Thomas Lübking 2015-05-15 23:51:15 +02:00
parent f79cdc6b33
commit 0529d0b787
1 changed files with 1 additions and 2 deletions

View File

@ -47,8 +47,7 @@ int currentRefreshRate()
QString syncScreenName(QLatin1String("primary screen"));
if (options->refreshRate() > 0) { // use manually configured refresh rate
rate = options->refreshRate();
} else if (GLPlatform::instance()->driver() == Driver_NVidia &&
Screens::self()->count() > 0) {
} else if (Screens::self()->count() > 0) {
// prefer the refreshrate calculated from the screens mode information
// at least the nvidia driver reports 50Hz BS ... *again*!
int syncScreen = 0;