diff --git a/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp b/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp index 04e5d2d3c..17b26d0d1 100644 --- a/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp +++ b/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp @@ -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++) {