Skip to content

Commit a2ce90a

Browse files
WookeyBiscottipixelflinger
authored andcommitted
ImGuiIO.ImeWindowHandle -> ImGui::GetMainViewport()->PlatformHandleRaw
1 parent 43a88be commit a2ce90a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/filamentapp/src/FilamentApp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ void FilamentApp::run(const Config& config, SetupCallback setupCallback,
196196
SDL_SysWMinfo wmInfo;
197197
SDL_VERSION(&wmInfo.version);
198198
SDL_GetWindowWMInfo(window->getSDLWindow(), &wmInfo);
199-
io.ImeWindowHandle = wmInfo.info.win.window;
199+
ImGui::GetMainViewport()->PlatformHandleRaw = wmInfo.info.win.window;
200200
#endif
201201
io.KeyMap[ImGuiKey_Tab] = SDL_SCANCODE_TAB;
202202
io.KeyMap[ImGuiKey_LeftArrow] = SDL_SCANCODE_LEFT;

0 commit comments

Comments
 (0)