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 authored and pixelflinger committed Mar 6, 2024
1 parent 11d90f1 commit c318018
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 c318018

Please sign in to comment.