Fix Transparency of Custom Image Objects

This commit is contained in:
CrushedPixel
2015-08-12 22:26:48 +02:00
parent b525751a55
commit 2d756bfc9a

View File

@@ -48,6 +48,7 @@ public class CustomObjectRenderer {
|| resourceLocation == null) return;
GlStateManager.pushMatrix();
GlStateManager.pushAttrib();
Tessellator tessellator = Tessellator.getInstance();
WorldRenderer renderer = tessellator.getWorldRenderer();
@@ -107,6 +108,7 @@ public class CustomObjectRenderer {
tessellator.draw();
renderer.setTranslation(0, 0, 0);
GlStateManager.popAttrib();
GlStateManager.popMatrix();
}
}