equal
deleted
inserted
replaced
2001 |
2001 |
2002 void ToggleFullScreen(bool fs) |
2002 void ToggleFullScreen(bool fs) |
2003 { |
2003 { |
2004 _video_driver->toggle_fullscreen(fs); |
2004 _video_driver->toggle_fullscreen(fs); |
2005 if (_fullscreen != fs && _num_resolutions == 0) { |
2005 if (_fullscreen != fs && _num_resolutions == 0) { |
2006 DEBUG(misc, 0) ("Could not find a suitable fullscreen resolution."); |
2006 DEBUG(driver, 0, "Could not find a suitable fullscreen resolution"); |
2007 } |
2007 } |
2008 } |
2008 } |
2009 |
2009 |
2010 static int CDECL compare_res(const void *pa, const void *pb) |
2010 static int CDECL compare_res(const void *pa, const void *pb) |
2011 { |
2011 { |