src/video/SDL_video.c
changeset 6063 44cd82d8ea65
parent 6044 35448a5ea044
child 6138 4c64952a58fb
     1.1 --- a/src/video/SDL_video.c	Tue Nov 08 00:02:47 2011 -0500
     1.2 +++ b/src/video/SDL_video.c	Tue Nov 08 00:03:54 2011 -0500
     1.3 @@ -1186,6 +1186,9 @@
     1.4          SDL_SetWindowTitle(window, title);
     1.5      }
     1.6      SDL_FinishWindowCreation(window, flags);
     1.7 +    
     1.8 +    /* If the window was created fullscreen, make sure the mode code matches */
     1.9 +    SDL_UpdateFullscreenMode(window, FULLSCREEN_VISIBLE(window));
    1.10  
    1.11      return window;
    1.12  }