| 1767 | } |
| 1768 | |
| 1769 | bool ToggleFullScreen(bool fs) |
| 1770 | { |
| 1771 | bool result = VideoDriver::GetInstance()->ToggleFullscreen(fs); |
| 1772 | if (_fullscreen != fs && _resolutions.empty()) { |
| 1773 | Debug(driver, 0, "Could not find a suitable fullscreen resolution"); |
| 1774 | } |
| 1775 | return result; |
| 1776 | } |
| 1777 | |
| 1778 | void SortResolutions() |
| 1779 | { |
no test coverage detected