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 Feb 26, 2024
1 parent d704f3c commit 7143fb5
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 7143fb5

Please sign in to comment.