Don't break early when finding best monitor mode
This commit is contained in:
parent
16d7f7e398
commit
104afbd5f0
@ -453,7 +453,7 @@ bool CIrrDeviceLinux::changeResolution()
|
|||||||
refresh_rate_new = (mode->dotClock * 1000.0) / (mode->hTotal * mode->vTotal);
|
refresh_rate_new = (mode->dotClock * 1000.0) / (mode->hTotal * mode->vTotal);
|
||||||
|
|
||||||
if (refresh_rate_new <= refresh_rate)
|
if (refresh_rate_new <= refresh_rate)
|
||||||
break;
|
continue;
|
||||||
|
|
||||||
for (int j = 0; j < output->nmode; j++)
|
for (int j = 0; j < output->nmode; j++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user