Closed SnowyJune678 closed 4 years ago
Hi, Better HUD dev here. I have done some debugging and it looks like Flan's mod corrupts GlStateManager
so that calls like GlStateManager.enableBlend
have no effect because the manager thinks it's already enabled.
I did a quick check from the root of the zip download for this repo:
$ grep -rPo 'GL11.(glDisable|glEnable)' . | wc -l
52
There are 52 cases of OpenGL state (I only checked flags) being modified directly instead of using the manager. This is probably the cause of the issue.
Thanks @mccreery. As you can see, I've replaced a lot of the direct GL11 calls with GlStateManager and the issue seems to be fixed now.
I have created an identical issue report in the Better HUD repo: https://github.com/mccreery/better-hud/issues/89
Describe the bug Using Flans mod and BetterHUD, certain modded (and vanilla) UI elements become opaque, even on the parts that are supposed to be transparent.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour UI elements will not ose transparency when the two mods are used togather
Screenshots
(yes, this image does have other mods, but I did narrow the issue down to BetterHUD and Flans)
Versions (please complete the following information)
Additional context
Log: gist BetterHUD repo also has a similar bug report: https://github.com/mccreery/better-hud/issues/60