Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImGui.NET 1.90.8.1 #2230

Merged
merged 7 commits into from
Jun 19, 2024
Merged

ImGui.NET 1.90.8.1 #2230

merged 7 commits into from
Jun 19, 2024

Conversation

matt-edmondson
Copy link
Contributor

@matt-edmondson matt-edmondson commented Jun 18, 2024

Summary of the PR

Upgrade ImGui.NET to 1.90.8.1

Related issues, Discord discussions, or proposals

Further Comments

@Perksey
Copy link
Member

Perksey commented Jun 19, 2024

This has to be approached with caution. ImGui.NET consistently introduces TFM-specific breaking changes that we get the blame for, and this has generally resulted in a distaste for supporting ImGui.NET in Silk.NET. This isn’t a “no”, we just need to take some time to evaluate what’s happened upstream since the last time we updated.

@matt-edmondson
Copy link
Contributor Author

@dotnet-policy-service agree

Use the `_keyboard` field rather than retrieving the first keyboard from the input context in `UpdateImGuiInput()` as it gets reset every frame to `_input.Keyboards[0]` in `BeginFrame()`.
… replace with the new `io.AddKeyEvent()` API.

Also implemented `io.SetKeyEventNativeData()` to preserve legacy user code.
… and `Silk.NET.OpenGLES.Extensions.ImGui`.
@matt-edmondson matt-edmondson marked this pull request as ready for review June 19, 2024 14:16
@matt-edmondson matt-edmondson requested review from ThomasMiz, Beyley and a team as code owners June 19, 2024 14:16
Copy link
Member

@Perksey Perksey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have had a look upstream and this seems to be a safe upgrade.

@Perksey Perksey enabled auto-merge (squash) June 19, 2024 21:25
@Perksey Perksey merged commit 9b12fbe into dotnet:main Jun 19, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants