@@ -1912,13 +1912,13 @@ bool ChangeResInGame(int width, int heig
}
bool ToggleFullScreen(bool fs)
{
bool result = VideoDriver::GetInstance()->ToggleFullscreen(fs);
if (_fullscreen != fs && _resolutions.empty()) {
DEBUG(driver, 0, "Could not find a suitable fullscreen resolution");
Debug(driver, 0, "Could not find a suitable fullscreen resolution");
return result;
void SortResolutions()