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

Window recreation fix #35

Merged
merged 1 commit into from
Feb 3, 2024
Merged

Window recreation fix #35

merged 1 commit into from
Feb 3, 2024

Conversation

BlockOG
Copy link
Contributor

@BlockOG BlockOG commented Jun 20, 2023

If you use Window directly and create a window multiple times in the same application (and use egui_macroquad in the first window), the EGUI state gets invalid, so this adds a way to reset the state so you can use egui_macroquad again after recreating the window.

@optozorax optozorax merged commit dfbdb96 into optozorax:master Feb 3, 2024
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.

2 participants