Skip to content

Commit

Permalink
WinRT: native windows are inherently resizable (in WinRT 8.x)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Nov 26, 2015
1 parent 7bd640d commit a70fe9a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/video/winrt/SDL_winrtvideo.cpp
Expand Up @@ -532,14 +532,16 @@ WINRT_CreateWindow(_THIS, SDL_Window * window)
#if SDL_WINRT_USE_APPLICATIONVIEW
/* Determine as many flags dynamically, as possible. */
window->flags =
SDL_WINDOW_BORDERLESS;
SDL_WINDOW_BORDERLESS |
SDL_WINDOW_RESIZABLE;
#else
/* Set SDL_Window flags for Windows Phone 8.0 */
window->flags =
SDL_WINDOW_FULLSCREEN_DESKTOP |
SDL_WINDOW_BORDERLESS |
SDL_WINDOW_MAXIMIZED |
SDL_WINDOW_INPUT_GRABBED;
SDL_WINDOW_INPUT_GRABBED |
SDL_WINDOW_RESIZABLE;
#endif

#if SDL_VIDEO_OPENGL_EGL
Expand Down

0 comments on commit a70fe9a

Please sign in to comment.