VulkanMod
VulkanMod copied to clipboard
Fix polygon mode mixin using face as mode
Fix compatibility issue with Not-Enough-Crashes, see:
- https://github.com/natanfudge/Not-Enough-Crashes/blob/1.21/common/src/main/java/fudge/notenoughcrashes/utils/GlUtil.java#L39
- https://registry.khronos.org/OpenGL-Refpages/gl4/html/glPolygonMode.xhtml
This PR fixes Not-Enough-Crashes compatibility issues.
@xCollateral can you review this please.
v2:
- Rebased to
devbranch - Removed
nullcheck forGlTexture.texParameteri, this will be moved into another PR
Null check has been replaced by proper implementation:
- https://github.com/xCollateral/VulkanMod/pull/526
Note: @xCollateral want to do the commit himself, I keep this PR as a reminder for him.