| 38 | } |
| 39 | |
| 40 | bool VideoMode::IsFullscreenValid() const |
| 41 | { |
| 42 | const std::vector<VideoMode>& modes = GetFullscreenModes(); |
| 43 | |
| 44 | return std::binary_search(modes.begin(), modes.end(), *this, std::greater<VideoMode>()); |
| 45 | } |
| 46 | |
| 47 | VideoMode VideoMode::GetDesktopMode() |
| 48 | { |