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

Ensure that environment is available before checking for BCS #91322

Merged
merged 1 commit into from
May 2, 2024

Conversation

clayjohn
Copy link
Member

Fixes: #91239

I wrongfully assumed that doing a post process meant we had the environment available. But we also use the post pass for resolving MSAA, so this code can be reached even if there is no environment in the scene.

Simple fix is to check for the environment before enabling BCS.

@akien-mga akien-mga merged commit d798094 into godotengine:master May 2, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@clayjohn clayjohn deleted the GLES3-bcs-error branch May 3, 2024 05:23
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.

ERROR: Parameter "env" is null. with Compatibility renderer
4 participants