Skip to content

chore(deps): upgrade Dear ImGui 1.89.9 -> 1.92.9b-docking - #675

Merged
JeanPhilippeKernel merged 1 commit into
developfrom
chore/upgrade-imgui-1.92
Aug 25, 2026
Merged

chore(deps): upgrade Dear ImGui 1.89.9 -> 1.92.9b-docking#675
JeanPhilippeKernel merged 1 commit into
developfrom
chore/upgrade-imgui-1.92

Conversation

@JeanPhilippeKernel

@JeanPhilippeKernel JeanPhilippeKernel commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Summary

Upgrades Dear ImGui from v1.89.9-docking to v1.92.9b-docking.

Breaking changes fixed

ImGuizmo 1.83 (vendor patch — patches/imguizmo_imgui192_compat.py):

  • ImGui::CaptureMouseFromApp() removed in 1.90 → SetNextFrameWantCaptureMouse(true) (6 sites)
  • ImDrawList::AddPolyline() signature changed in 1.92.8: thickness/flags swapped, bool closedImDrawFlags_Closed (3 sites)
  • Patch is applied automatically via PATCH_COMMAND in FetchContent_Declare

ImGUIRenderer.cpp:

  • IM_OFFSETOF macro obsoleted in 1.90 → standard offsetof
  • ImDrawCmd::TextureId field removed in 1.92 → ImDrawCmd::GetTexID()

UIComponentDrawerHelper.cpp:

  • ImFont::FontSize renamed to ImFont::LegacySize in 1.92 (5 sites)
  • ImageButton gained mandatory const char* str_id first parameter in 1.89.4 (was still using old form)
  • Image() tint/border params removed in 1.92 (use ImageWithBg() for tinted images)

Test plan

  • Build clean — no errors or warnings
  • Editor launches, all panels render correctly
  • Gizmo (ImGuizmo) works in viewport — rotate, translate, scale
  • Texture previews in Inspector still display

Breaking changes fixed:
- ImGuizmo 1.83: AddPolyline signature changed in 1.92.8 (thickness/flags
  swapped, bool closed -> ImDrawFlags_Closed); CaptureMouseFromApp removed
  in 1.90 -> SetNextFrameWantCaptureMouse(true). Patch applied via
  patches/imguizmo_imgui192_compat.py (wired as PATCH_COMMAND).
- ImGUIRenderer: IM_OFFSETOF obsoleted in 1.90 -> offsetof; ImDrawCmd::TextureId
  removed in 1.92 -> GetTexID().
- UIComponentDrawerHelper: ImFont::FontSize renamed to LegacySize in 1.92;
  ImageButton gained mandatory str_id param; Image tint_col param removed.
@JeanPhilippeKernel JeanPhilippeKernel self-assigned this Aug 25, 2026
@JeanPhilippeKernel JeanPhilippeKernel added area-rendering area-linux Work on Linux system area-window Work on Window system area-ui area-macOS Work on macOS system labels Aug 25, 2026
@JeanPhilippeKernel JeanPhilippeKernel moved this to In Progress in ZEngine Board Aug 25, 2026
@JeanPhilippeKernel
JeanPhilippeKernel merged commit 0329245 into develop Aug 25, 2026
33 of 34 checks passed
@JeanPhilippeKernel
JeanPhilippeKernel deleted the chore/upgrade-imgui-1.92 branch August 25, 2026 04:36
@github-project-automation github-project-automation Bot moved this from In Progress to Done in ZEngine Board Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-linux Work on Linux system area-macOS Work on macOS system area-rendering area-ui area-window Work on Window system

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant