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

PROOF OF CONCEPT: reinit rendering after conf change #3167

Closed
wants to merge 2 commits into from

Conversation

ohlidalp
Copy link
Member

@ohlidalp ohlidalp commented Jul 19, 2024

When you go to {Main Menu / Game Settings / Render System} and change resolution, the game will immediatelly reopen the rendering window, load all resources (they become invalid) and start rendering again with the new settings.

Only works smoothly if you start game, do the change and then exit game. Entering simulation before/after causes crashes, hangs and other weird stuff.

I had to duplicate most of our startup code to get this to work, RoR wasn't written with renderer reinit in mind.

@ohlidalp
Copy link
Member Author

Closing as the code is not viable for merging - but the test is a success.

@ohlidalp ohlidalp closed this Jul 30, 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.

1 participant