From 7143fb5977ad6b124eef132a705e13045f0f7581 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 26 Feb 2024 22:23:49 +0300 Subject: [PATCH] ImGuiIO.ImeWindowHandle -> ImGui::GetMainViewport()->PlatformHandleRaw --- libs/filamentapp/src/FilamentApp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/filamentapp/src/FilamentApp.cpp b/libs/filamentapp/src/FilamentApp.cpp index 7e315b0da476..1015c16c9856 100644 --- a/libs/filamentapp/src/FilamentApp.cpp +++ b/libs/filamentapp/src/FilamentApp.cpp @@ -196,7 +196,7 @@ void FilamentApp::run(const Config& config, SetupCallback setupCallback, SDL_SysWMinfo wmInfo; SDL_VERSION(&wmInfo.version); SDL_GetWindowWMInfo(window->getSDLWindow(), &wmInfo); - io.ImeWindowHandle = wmInfo.info.win.window; + ImGui::GetMainViewport()->PlatformHandleRaw = wmInfo.info.win.window; #endif io.KeyMap[ImGuiKey_Tab] = SDL_SCANCODE_TAB; io.KeyMap[ImGuiKey_LeftArrow] = SDL_SCANCODE_LEFT;