Fixed Custom Image Objects being rendered through blocks

This commit is contained in:
CrushedPixel
2015-07-14 02:21:51 +02:00
parent 534007b9c8
commit 0ff40cc0f5
2 changed files with 5 additions and 7 deletions

View File

@@ -35,11 +35,9 @@ public class CustomObjectRenderer {
GlStateManager.enableTexture2D();
GlStateManager.disableLighting();
//GlStateManager.disableAlpha();
GlStateManager.enableAlpha();
GlStateManager.enableDepth();
GlStateManager.disableDepth();
GlStateManager.enableBlend();
GlStateManager.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);