Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

[fix] Force initialise ImGui in the MinecraftClient constructor at return #535

Merged
merged 3 commits into from
Mar 4, 2021

Conversation

nopjmp
Copy link
Contributor

@nopjmp nopjmp commented Feb 21, 2021

This will force init ImGui during the MinecraftClient constructor and avoid any odd concurrent state changes or texture pipeline oddities since nothing is being used yet.

This is the most minimally invasive spot; otherwise, we will need to inject into the end of the Window constructor if we want the closest point we can constructor the ImGui contexts.

Closes #533

@zeroeightysix
Copy link
Owner

Looks like this has been proven to fix the problem. Thanks!

@zeroeightysix zeroeightysix merged commit 5b7f71f into zeroeightysix:fabric Mar 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Graphical Glitches in ClickGUI (ImGui)
2 participants