WinRT: minor code cleanup in window-creation code
authorDavid Ludwig
Thu, 26 Nov 2015 11:15:43 -0500
changeset 9929500c15a73ede
parent 9928 639be75bbc84
child 9930 84285c1d8ca4
WinRT: minor code cleanup in window-creation code

Window flags can be detected on all WinRT platforms.
src/video/winrt/SDL_winrtvideo.cpp
     1.1 --- a/src/video/winrt/SDL_winrtvideo.cpp	Thu Nov 26 11:09:50 2015 -0500
     1.2 +++ b/src/video/winrt/SDL_winrtvideo.cpp	Thu Nov 26 11:15:43 2015 -0500
     1.3 @@ -529,20 +529,10 @@
     1.4      }
     1.5  #endif
     1.6  
     1.7 -#if SDL_WINRT_USE_APPLICATIONVIEW
     1.8      /* Determine as many flags dynamically, as possible. */
     1.9      window->flags =
    1.10          SDL_WINDOW_BORDERLESS |
    1.11          SDL_WINDOW_RESIZABLE;
    1.12 -#else
    1.13 -    /* Set SDL_Window flags for Windows Phone 8.0 */
    1.14 -    window->flags =
    1.15 -        SDL_WINDOW_FULLSCREEN_DESKTOP |
    1.16 -        SDL_WINDOW_BORDERLESS |
    1.17 -        SDL_WINDOW_MAXIMIZED |
    1.18 -        SDL_WINDOW_INPUT_GRABBED |
    1.19 -        SDL_WINDOW_RESIZABLE;
    1.20 -#endif
    1.21  
    1.22  #if SDL_VIDEO_OPENGL_EGL
    1.23      if (data->egl_surface) {