mirror of https://github.com/encounter/SDL.git
WinRT: native windows are inherently resizable (in WinRT 8.x)
This commit is contained in:
parent
7bd640d5da
commit
a70fe9a53e
|
@ -532,14 +532,16 @@ WINRT_CreateWindow(_THIS, SDL_Window * window)
|
||||||
#if SDL_WINRT_USE_APPLICATIONVIEW
|
#if SDL_WINRT_USE_APPLICATIONVIEW
|
||||||
/* Determine as many flags dynamically, as possible. */
|
/* Determine as many flags dynamically, as possible. */
|
||||||
window->flags =
|
window->flags =
|
||||||
SDL_WINDOW_BORDERLESS;
|
SDL_WINDOW_BORDERLESS |
|
||||||
|
SDL_WINDOW_RESIZABLE;
|
||||||
#else
|
#else
|
||||||
/* Set SDL_Window flags for Windows Phone 8.0 */
|
/* Set SDL_Window flags for Windows Phone 8.0 */
|
||||||
window->flags =
|
window->flags =
|
||||||
SDL_WINDOW_FULLSCREEN_DESKTOP |
|
SDL_WINDOW_FULLSCREEN_DESKTOP |
|
||||||
SDL_WINDOW_BORDERLESS |
|
SDL_WINDOW_BORDERLESS |
|
||||||
SDL_WINDOW_MAXIMIZED |
|
SDL_WINDOW_MAXIMIZED |
|
||||||
SDL_WINDOW_INPUT_GRABBED;
|
SDL_WINDOW_INPUT_GRABBED |
|
||||||
|
SDL_WINDOW_RESIZABLE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if SDL_VIDEO_OPENGL_EGL
|
#if SDL_VIDEO_OPENGL_EGL
|
||||||
|
|
Loading…
Reference in New Issue