Skip to content

Commit

Permalink
WinRT: renamed SDL_SYSWM_WINDOWSRT to SDL_SYSWM_WINRT
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
DavidLudwig committed Aug 27, 2013
1 parent d062767 commit 7be2ad7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/SDL_syswm.h
Expand Up @@ -105,7 +105,7 @@ typedef enum
{
SDL_SYSWM_UNKNOWN,
SDL_SYSWM_WINDOWS,
SDL_SYSWM_WINDOWSRT,
SDL_SYSWM_WINRT,
SDL_SYSWM_X11,
SDL_SYSWM_DIRECTFB,
SDL_SYSWM_COCOA,
Expand Down
2 changes: 1 addition & 1 deletion src/render/direct3d11/SDL_render_d3d11.cpp
Expand Up @@ -583,7 +583,7 @@ D3D11_GetCoreWindowFromSDLRenderer(SDL_Renderer * renderer)
return nullptr;
}

if (sdlWindowInfo.subsystem != SDL_SYSWM_WINDOWSRT) {
if (sdlWindowInfo.subsystem != SDL_SYSWM_WINRT) {
return nullptr;
}

Expand Down
2 changes: 1 addition & 1 deletion src/video/winrt/SDL_winrtvideo.cpp
Expand Up @@ -230,7 +230,7 @@ WINRT_GetWindowWMInfo(_THIS, SDL_Window * window, SDL_SysWMinfo * info)
SDL_WindowData * data = (SDL_WindowData *) window->driverdata;

if (info->version.major <= SDL_MAJOR_VERSION) {
info->subsystem = SDL_SYSWM_WINDOWSRT;
info->subsystem = SDL_SYSWM_WINRT;
info->info.winrt.window = reinterpret_cast<IUnknown *>(data->coreWindow.Get());
return SDL_TRUE;
} else {
Expand Down

0 comments on commit 7be2ad7

Please sign in to comment.