Skip to content

Fix for ImGui 1.92.8: ImDrawCallback_ResetRenderState obsoleted#12

Open
pthom wants to merge 1 commit into
andyborrell:mainfrom
pthom:fix_imgui_v1.92.8
Open

Fix for ImGui 1.92.8: ImDrawCallback_ResetRenderState obsoleted#12
pthom wants to merge 1 commit into
andyborrell:mainfrom
pthom:fix_imgui_v1.92.8

Conversation

@pthom

@pthom pthom commented May 12, 2026

Copy link
Copy Markdown
Contributor

Gate on IMGUI_VERSION_NUM < 19276.

The old macro is no longer available with IMGUI_DISABLE_OBSOLETE_FUNCTIONS; use ImGui::GetPlatformIO().DrawCallback_ResetRenderState instead.

Gate on IMGUI_VERSION_NUM < 19276. The old macro is no longer
available with IMGUI_DISABLE_OBSOLETE_FUNCTIONS; use
ImGui::GetPlatformIO().DrawCallback_ResetRenderState instead.
@pthom

pthom commented May 19, 2026

Copy link
Copy Markdown
Contributor Author

Note: the #if IMGUI_VERSION_NUM is only if you want to support several versions of ImGui. It is advisable to remove this test after a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant