gfx.c
changeset 5568 75f13d7bfaed
parent 5217 21c23507c002
child 5579 be371346efae
equal deleted inserted replaced
5567:2af6b4aa2833 5568:75f13d7bfaed
  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 {