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

[HTML5] Editor video driver option. Replace canvas on exit. #53993

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

Faless
Copy link
Collaborator

@Faless Faless commented Oct 19, 2021

Default is "Auto", but can be forced to a specific WebGL version if the automatic detection fails.

The game and editor canvas are now replaced with a new one in the exit hooks. This helps the browser do some context cleanup, and allow us to create a new context of a different type (WebGL/WebGL2).

Sync editor.html code with #53991 (should I keep the option hidden? It doesn't really matter in master for now, but it might still make sense if/when we get both gles3 and vulkan renderer).

Default is "Auto", but can be forced to a specific WebGL version if the
automatic detection fails.

The game and editor canvas are now replaced with a new one in the exit
hooks. This helps the browser do some context cleanup, and allow us to
create a new context of a different type (WebGL/WebGL2).
@akien-mga akien-mga merged commit 9e44a8e into godotengine:master Oct 20, 2021
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants