src/video/windib/SDL_dibvideo.c
changeset 374 3fc4e71f7714
parent 338 518ffd98a8f6
child 376 a5f60a847a89
equal deleted inserted replaced
373:c638fde8a824 374:3fc4e71f7714
   896 		/* Delete the screen bitmap (also frees screen->pixels) */
   896 		/* Delete the screen bitmap (also frees screen->pixels) */
   897 		if ( this->screen ) {
   897 		if ( this->screen ) {
   898 #ifndef NO_CHANGEDISPLAYSETTINGS
   898 #ifndef NO_CHANGEDISPLAYSETTINGS
   899 			if ( this->screen->flags & SDL_FULLSCREEN ) {
   899 			if ( this->screen->flags & SDL_FULLSCREEN ) {
   900 				ChangeDisplaySettings(NULL, 0);
   900 				ChangeDisplaySettings(NULL, 0);
       
   901 				SDL_ShowWindow(SDL_Window, SW_HIDE);
   901 			}
   902 			}
   902 #endif
   903 #endif
   903 #ifdef HAVE_OPENGL
   904 #ifdef HAVE_OPENGL
   904 			if ( this->screen->flags & SDL_OPENGL ) {
   905 			if ( this->screen->flags & SDL_OPENGL ) {
   905 				WIN_GL_ShutDown(this);
   906 				WIN_GL_ShutDown(this);