Commit 32e1f1bc authored by Sam Lantinga's avatar Sam Lantinga

Fixed a typo in a previous patch

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40487
parent 82ab8e4d
...@@ -1138,7 +1138,7 @@ SDL_Surface *DX5_SetVideoMode(_THIS, SDL_Surface *current, ...@@ -1138,7 +1138,7 @@ SDL_Surface *DX5_SetVideoMode(_THIS, SDL_Surface *current,
y -= GetSystemMetrics(SM_CYCAPTION)/2; y -= GetSystemMetrics(SM_CYCAPTION)/2;
} }
swp_flags = (SWP_NOCOPYBITS | SWP_FRAMECHANGED | SWP_SHOWWINDOW); swp_flags = (SWP_NOCOPYBITS | SWP_FRAMECHANGED | SWP_SHOWWINDOW);
if ( was_visible && (video->flags & SDL_FULLSCREEN) ) { if ( was_visible && !(video->flags & SDL_FULLSCREEN) ) {
swp_flags |= SWP_NOMOVE; swp_flags |= SWP_NOMOVE;
} }
if ( video->flags & SDL_FULLSCREEN ) { if ( video->flags & SDL_FULLSCREEN ) {
......
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