LambdaInnovation / LambdaLib2

Minecraft modding library that facilitates content development with useful middle layers.
12 stars 5 forks source link

Should be using GlStateManager #6

Open jrbudda opened 5 years ago

jrbudda commented 5 years ago

https://github.com/LambdaInnovation/LambdaLib2/blob/master/src/main/java/cn/lambdalib2/render/mc/RenderEventDispatch.java#L96

This code here bypasses the GLStatemanager. Subsequent calls to, for example, GlStatemanager.disableCull() will do nothing since if thinks culling is already disabled.