Backends: SDL: fix build on WinRT (#6019, #5974)

This commit is contained in:
ITotalJustice 2022-12-23 10:46:35 +00:00 committed by ocornut
parent 52c61deaf9
commit da832532c0

View File

@ -359,7 +359,7 @@ static bool ImGui_ImplSDL2_Init(SDL_Window* window, SDL_Renderer* renderer)
bd->MouseCursors[ImGuiMouseCursor_NotAllowed] = SDL_CreateSystemCursor(SDL_SYSTEM_CURSOR_NO);
// Set platform dependent data in viewport
#ifdef _WIN32
#if defined(SDL_VIDEO_DRIVER_WINDOWS)
SDL_SysWMinfo info;
SDL_VERSION(&info.version);
if (SDL_GetWindowWMInfo(window, &info))