src/video/windx5/SDL_dx5video.c
changeset 374 3fc4e71f7714
parent 338 518ffd98a8f6
child 376 a5f60a847a89
equal deleted inserted replaced
373:c638fde8a824 374:3fc4e71f7714
  2212 	/* If we're fullscreen GL, we need to reset the display */
  2212 	/* If we're fullscreen GL, we need to reset the display */
  2213 	if ( this->screen != NULL ) {
  2213 	if ( this->screen != NULL ) {
  2214 		if ( (this->screen->flags & (SDL_OPENGL|SDL_FULLSCREEN)) ==
  2214 		if ( (this->screen->flags & (SDL_OPENGL|SDL_FULLSCREEN)) ==
  2215 		                            (SDL_OPENGL|SDL_FULLSCREEN) ) {
  2215 		                            (SDL_OPENGL|SDL_FULLSCREEN) ) {
  2216 			ChangeDisplaySettings(NULL, 0);
  2216 			ChangeDisplaySettings(NULL, 0);
       
  2217 			SDL_ShowWindow(SDL_Window, SW_HIDE);
  2217 		}
  2218 		}
  2218 		if ( this->screen->flags & SDL_OPENGL ) {
  2219 		if ( this->screen->flags & SDL_OPENGL ) {
  2219 			WIN_GL_ShutDown(this);
  2220 			WIN_GL_ShutDown(this);
  2220 		}
  2221 		}
  2221 	}
  2222 	}