src/video/windows/SDL_windowsmodes.c
changeset 10179 7cbfd97f1430
parent 10174 284022a7f51e
--- a/src/video/windows/SDL_windowsmodes.c	Sat May 21 12:09:23 2016 -0300
+++ b/src/video/windows/SDL_windowsmodes.c	Mon May 23 15:29:25 2016 -0300
@@ -416,7 +416,7 @@
     LONG status;
 
     if (mode->driverdata == display->desktop_mode.driverdata) {
-        status = ChangeDisplaySettingsEx(displaydata->DeviceName, NULL, NULL, 0, NULL);
+        status = ChangeDisplaySettingsEx(displaydata->DeviceName, NULL, NULL, CDS_FULLSCREEN, NULL);
     } else {
         status = ChangeDisplaySettingsEx(displaydata->DeviceName, &data->DeviceMode, NULL, CDS_FULLSCREEN, NULL);
     }