Skip to content

MonoGame & FNA sample upgrade #518

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

morfah
Copy link

@morfah morfah commented Jun 4, 2025

It's good to dispose ImGuiRenderer when unloading content.
For example if the game use multiple game states which unload and loads content.

Also if you instantiated ImGuiRenderer again there would be multiple event handlers for text inputs, so I removed those in the Dispose too.

Enabled docking in BeforeLayout, otherwise you would get an cimgui assert error when you tried to use the docking feature.

Did some minor code cleanups.

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