Commit 85149547 authored by Sam Lantinga's avatar Sam Lantinga

*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40375
parent e88f3165
...@@ -898,6 +898,7 @@ void DIB_VideoQuit(_THIS) ...@@ -898,6 +898,7 @@ void DIB_VideoQuit(_THIS)
#ifndef NO_CHANGEDISPLAYSETTINGS #ifndef NO_CHANGEDISPLAYSETTINGS
if ( this->screen->flags & SDL_FULLSCREEN ) { if ( this->screen->flags & SDL_FULLSCREEN ) {
ChangeDisplaySettings(NULL, 0); ChangeDisplaySettings(NULL, 0);
SDL_ShowWindow(SDL_Window, SW_HIDE);
} }
#endif #endif
#ifdef HAVE_OPENGL #ifdef HAVE_OPENGL
......
...@@ -2214,6 +2214,7 @@ void DX5_VideoQuit(_THIS) ...@@ -2214,6 +2214,7 @@ void DX5_VideoQuit(_THIS)
if ( (this->screen->flags & (SDL_OPENGL|SDL_FULLSCREEN)) == if ( (this->screen->flags & (SDL_OPENGL|SDL_FULLSCREEN)) ==
(SDL_OPENGL|SDL_FULLSCREEN) ) { (SDL_OPENGL|SDL_FULLSCREEN) ) {
ChangeDisplaySettings(NULL, 0); ChangeDisplaySettings(NULL, 0);
SDL_ShowWindow(SDL_Window, SW_HIDE);
} }
if ( this->screen->flags & SDL_OPENGL ) { if ( this->screen->flags & SDL_OPENGL ) {
WIN_GL_ShutDown(this); WIN_GL_ShutDown(this);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment