WinRT: renamed SDL_SYSWM_WINDOWSRT to SDL_SYSWM_WINRT
authorDavid Ludwig <dludwig@pobox.com>
Tue, 27 Aug 2013 11:44:43 -0400
changeset 84969f0a4fbc6452
parent 8495 7ab2ba12db6b
child 8497 103bb054aa7d
WinRT: renamed SDL_SYSWM_WINDOWSRT to SDL_SYSWM_WINRT
This is part of an overall effort to use the name, "WinRT", rather than "WindowsRT" (or "Windows RT"), as the shorthand name often seems to mean something different than the longhand name. (WinRT is an API, Windows RT is a product name)
include/SDL_syswm.h
src/render/direct3d11/SDL_render_d3d11.cpp
src/video/winrt/SDL_winrtvideo.cpp
     1.1 --- a/include/SDL_syswm.h	Tue Aug 27 11:40:06 2013 -0400
     1.2 +++ b/include/SDL_syswm.h	Tue Aug 27 11:44:43 2013 -0400
     1.3 @@ -105,7 +105,7 @@
     1.4  {
     1.5      SDL_SYSWM_UNKNOWN,
     1.6      SDL_SYSWM_WINDOWS,
     1.7 -    SDL_SYSWM_WINDOWSRT,
     1.8 +    SDL_SYSWM_WINRT,
     1.9      SDL_SYSWM_X11,
    1.10      SDL_SYSWM_DIRECTFB,
    1.11      SDL_SYSWM_COCOA,
     2.1 --- a/src/render/direct3d11/SDL_render_d3d11.cpp	Tue Aug 27 11:40:06 2013 -0400
     2.2 +++ b/src/render/direct3d11/SDL_render_d3d11.cpp	Tue Aug 27 11:44:43 2013 -0400
     2.3 @@ -583,7 +583,7 @@
     2.4          return nullptr;
     2.5      }
     2.6  
     2.7 -    if (sdlWindowInfo.subsystem != SDL_SYSWM_WINDOWSRT) {
     2.8 +    if (sdlWindowInfo.subsystem != SDL_SYSWM_WINRT) {
     2.9          return nullptr;
    2.10      }
    2.11  
     3.1 --- a/src/video/winrt/SDL_winrtvideo.cpp	Tue Aug 27 11:40:06 2013 -0400
     3.2 +++ b/src/video/winrt/SDL_winrtvideo.cpp	Tue Aug 27 11:44:43 2013 -0400
     3.3 @@ -230,7 +230,7 @@
     3.4      SDL_WindowData * data = (SDL_WindowData *) window->driverdata;
     3.5  
     3.6      if (info->version.major <= SDL_MAJOR_VERSION) {
     3.7 -        info->subsystem = SDL_SYSWM_WINDOWSRT;
     3.8 +        info->subsystem = SDL_SYSWM_WINRT;
     3.9          info->info.winrt.window = reinterpret_cast<IUnknown *>(data->coreWindow.Get());
    3.10          return SDL_TRUE;
    3.11      } else {