Skip to content

Added compatibility with ImGUI 1.9.*#326

Open
NGLSG wants to merge 1 commit into
thedmd:masterfrom
NGLSG:master
Open

Added compatibility with ImGUI 1.9.*#326
NGLSG wants to merge 1 commit into
thedmd:masterfrom
NGLSG:master

Conversation

@NGLSG

@NGLSG NGLSG commented Sep 8, 2025

Copy link
Copy Markdown

No description provided.

@Marsimplodation

Copy link
Copy Markdown
Contributor

Does not work anymore as the
const ImGuiKeyData* key_data = GetKeyData(key);
function is deprecated

ImGuiKeyData* ImGui::GetKeyData(ImGuiContext*, ImGuiKey): Assertion `IsNamedKey(key) && "Support for user key indices was dropped in favor of ImGuiKey. Please update backend & user code."' failed.

Also the ImRect.Floor() function is missing in modern imgui

@NGLSG

NGLSG commented Mar 6, 2026

Copy link
Copy Markdown
Author

Does not work anymore as the const ImGuiKeyData* key_data = GetKeyData(key); function is deprecated

ImGuiKeyData* ImGui::GetKeyData(ImGuiContext*, ImGuiKey): Assertion `IsNamedKey(key) && "Support for user key indices was dropped in favor of ImGuiKey. Please update backend & user code."' failed.

Also the ImRect.Floor() function is missing in modern imgui

I just adapted the latest imgui branch in my project (3e725628fa64986c71ebc7c764621a8e7423fef4), and the later project uses imgui without updating without this error

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.

3 participants