From c318018a47c6303852e816789356937f1173da0d 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 7e315b0da47..1015c16c985 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;