Fix worktable lock icon rendering poorly over enchanted items

This commit is contained in:
mezz committed 2014-12-26 22:14:22 -08:00
1 parent d32530caba
commit 6346039f14
1 file changed
+2 -1
@@ -54,10 +54,11 @@ public class GuiWorktable extends GuiForestryTitled<TileWorktable> {
ItemStack output = getOutputStack();
if (output != null)
manager.gui.drawItemStack(output, startX + xPos, startY + yPos);
//RenderHelper.disableStandardItemLighting();
GL11.glPushAttrib(GL11.GL_ENABLE_BIT);
GL11.glDisable(GL11.GL_DEPTH_TEST);
GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
if (worktable.getMemory().isLocked(slotNumber)) {
manager.gui.setZLevel(110f);