Skip to content

Commit

Permalink
ImGuiIO.ImeWindowHandle -> ImGui::GetMainViewport()->PlatformHandleRaw
Browse files Browse the repository at this point in the history
  • Loading branch information
WookeyBiscotti committed Mar 1, 2024
1 parent be3ff61 commit 360eede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/filamentapp/src/FilamentApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 360eede

Please sign in to comment.