Skip to content

Conversation

@Johni0702
Copy link
Collaborator

The previous workaround for this (5f02456) had incorrectly assumed that all our code running after it would only touch the global GL state but not MC's GlBlendState global state, however BlendState.activate (and UGraphics.Global.blendState, which forwards to that) does actually set MC's GlBlendState global state as well, rendering the workaround largely ineffective.

This commit fixes that by adding an internal method to BlendState which bypasses MC's GlBlendState, and then using that method from the workaround in URenderPipeline as well as ManagedGlState.

….6, properly

The previous workaround for this (5f02456) had incorrectly assumed
that all our code running after it would only touch the global GL state
but not MC's GlBlendState global state, however `BlendState.activate`
(and `UGraphics.Global.blendState`, which forwards to that) does
actually set MC's GlBlendState global state as well, rendering the
workaround largely ineffective.

This commit fixes that by adding an internal method to `BlendState`
which bypasses MC's `GlBlendState`, and then using that method from the
workaround in `URenderPipeline` as well as `ManagedGlState`.
@linear
Copy link

linear bot commented Dec 1, 2025

@Johni0702 Johni0702 merged commit dfc84bd into master Dec 1, 2025
1 check passed
@Johni0702 Johni0702 deleted the feature/em-3509-all-essential-menus-appear-blank-on-1171-1206 branch December 1, 2025 18:51
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.

3 participants