Don't break early when finding best monitor mode

This commit is contained in:
Deve 2019-01-13 22:10:03 +01:00
parent 16d7f7e398
commit 104afbd5f0

View File

@ -453,7 +453,7 @@ bool CIrrDeviceLinux::changeResolution()
refresh_rate_new = (mode->dotClock * 1000.0) / (mode->hTotal * mode->vTotal);
if (refresh_rate_new <= refresh_rate)
break;
continue;
for (int j = 0; j < output->nmode; j++)
{