WinRT: minor code-comment cleanups
authorDavid Ludwig <dludwig@pobox.com>
Thu, 31 Dec 2015 01:54:11 -0500
changeset 9993e05d46c27ce3
parent 9992 2117f13501e8
child 9994 d3e4f7b44d4d
WinRT: minor code-comment cleanups
src/core/winrt/SDL_winrtapp_direct3d.cpp
src/video/winrt/SDL_winrtvideo.cpp
     1.1 --- a/src/core/winrt/SDL_winrtapp_direct3d.cpp	Thu Dec 31 01:50:30 2015 -0500
     1.2 +++ b/src/core/winrt/SDL_winrtapp_direct3d.cpp	Thu Dec 31 01:54:11 2015 -0500
     1.3 @@ -220,11 +220,6 @@
     1.4  
     1.5              const Uint32 latestFlags = WINRT_DetectWindowFlags(window);
     1.6              if (latestFlags & SDL_WINDOW_MAXIMIZED) {
     1.7 -                /* SDL_SendWindowEvent, as of this writing (2015-Dec-27), *won't* actually
     1.8 -                   send events if the associated flag is already set.  This is taken
     1.9 -                   advantage of here.  The below call is only meant to send a
    1.10 -                   window event, if and when it is needed!
    1.11 -                */
    1.12                  SDL_SendWindowEvent(window, SDL_WINDOWEVENT_MAXIMIZED, 0, 0);
    1.13              } else {
    1.14                  SDL_SendWindowEvent(window, SDL_WINDOWEVENT_RESTORED, 0, 0);
     2.1 --- a/src/video/winrt/SDL_winrtvideo.cpp	Thu Dec 31 01:50:30 2015 -0500
     2.2 +++ b/src/video/winrt/SDL_winrtvideo.cpp	Thu Dec 31 01:54:11 2015 -0500
     2.3 @@ -492,6 +492,7 @@
     2.4      return latestFlags;
     2.5  }
     2.6  
     2.7 +// TODO, WinRT: consider removing WINRT_UpdateWindowFlags, and just calling WINRT_DetectWindowFlags as-appropriate (with appropriate calls to SDL_SendWindowEvent)
     2.8  void
     2.9  WINRT_UpdateWindowFlags(SDL_Window * window, Uint32 mask)
    2.10  {