--- a/src/video/windib/SDL_dibvideo.c Wed Mar 30 13:30:59 2016 -0400
+++ b/src/video/windib/SDL_dibvideo.c Mon May 23 15:27:30 2016 -0300
@@ -807,7 +807,7 @@
} else {
#ifndef NO_CHANGEDISPLAYSETTINGS
if ( (prev_flags & SDL_FULLSCREEN) == SDL_FULLSCREEN ) {
- ChangeDisplaySettings(NULL, 0);
+ ChangeDisplaySettings(NULL, CDS_FULLSCREEN);
}
#endif
if ( flags & SDL_NOFRAME ) {
@@ -1186,7 +1186,7 @@
}
#ifndef NO_CHANGEDISPLAYSETTINGS
if ( this->screen->flags & SDL_FULLSCREEN ) {
- ChangeDisplaySettings(NULL, 0);
+ ChangeDisplaySettings(NULL, CDS_FULLSCREEN);
ShowWindow(SDL_Window, SW_HIDE);
}
#endif