mirror of
https://github.com/yawut/SDL.git
synced 2026-08-20 15:54:10 -05:00
Fixed a typo in a previous patch
This commit is contained in:
@@ -1138,7 +1138,7 @@ SDL_Surface *DX5_SetVideoMode(_THIS, SDL_Surface *current,
|
||||
y -= GetSystemMetrics(SM_CYCAPTION)/2;
|
||||
}
|
||||
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;
|
||||
}
|
||||
if ( video->flags & SDL_FULLSCREEN ) {
|
||||
|
||||
Reference in New Issue
Block a user