Some display devices offer modes with refresh rates very close to each
other, such as 24.00 and 23.97. These differences may nevertheless be
important for video content.
mode.index = modes.size();
mode.monitor = &monitor;
mode.rate = static_cast<float>(info->dotClock)/(info->hTotal*info->vTotal);
mode.index = modes.size();
mode.monitor = &monitor;
mode.rate = static_cast<float>(info->dotClock)/(info->hTotal*info->vTotal);
+ if(find_mode(mode, 0.01f))
continue;
modes.push_back(mode);
continue;
modes.push_back(mode);