Skip to content

Adding support for modern dear imgui versions#333

Open
Marsimplodation wants to merge 2 commits intothedmd:masterfrom
Marsimplodation:master
Open

Adding support for modern dear imgui versions#333
Marsimplodation wants to merge 2 commits intothedmd:masterfrom
Marsimplodation:master

Conversation

@Marsimplodation
Copy link

Both the master branch and the PR #326 from @NGLSG do not compile with the latest dear imgui releases

Tested on

Dear ImGui Commit ad76935
ocornut/imgui@ad76935

Solves

Deprecation of GetKeyData(key); function used by NGLSG
const ImGuiKeyData* key_data = GetKeyData(key);

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.

And the removal of the ImRect Floor function

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