Remove unneeded GL state changes

This commit is contained in:
Nedelosk committed 2018-01-23 15:29:30 +01:00
1 parent c5178be225
commit 207f15ed0b
1 file changed
-2
@@ -30,7 +30,6 @@ public class GhostItemStackWidget extends ItemStackWidget {
if (!slot.getHasStack()) {
super.draw(startX, startY);
}
GlStateManager.pushMatrix();
GlStateManager.disableLighting();
GlStateManager.disableDepth();
GlStateManager.enableBlend();
@@ -50,7 +49,6 @@ public class GhostItemStackWidget extends ItemStackWidget {
GlStateManager.disableBlend();
GlStateManager.enableDepth();
GlStateManager.enableLighting();
GlStateManager.popMatrix();
}
private String getDirectionString(){