From d07aa877d2d2fa31b4bcc1343c601eb4b631bf6c Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Thu, 26 Nov 2015 11:15:43 -0500 Subject: [PATCH] WinRT: minor code cleanup in window-creation code Window flags can be detected on all WinRT platforms. --- src/video/winrt/SDL_winrtvideo.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/video/winrt/SDL_winrtvideo.cpp b/src/video/winrt/SDL_winrtvideo.cpp index 86e351ee3..89075792e 100644 --- a/src/video/winrt/SDL_winrtvideo.cpp +++ b/src/video/winrt/SDL_winrtvideo.cpp @@ -529,20 +529,10 @@ WINRT_CreateWindow(_THIS, SDL_Window * window) } #endif -#if SDL_WINRT_USE_APPLICATIONVIEW /* Determine as many flags dynamically, as possible. */ window->flags = 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_RESIZABLE; -#endif #if SDL_VIDEO_OPENGL_EGL if (data->egl_surface) {