mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 15:36:18 +00:00
Remove unneeded GL state changes
This commit is contained in:
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(){
|
||||
|
||||
Reference in new issue
Block a user