mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 12:19:47 +00:00
Fix wrong OpenGL in renderItem
This commit is contained in:
1 parent
ce050eaa63
commit
d721a7e98f
1 file changed
+2
-2
@@ -393,9 +393,9 @@ public class GuiCraftGUI extends GuiContainer {
|
||||
if (rotating) {
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
GuiScreen.itemRender.renderItemOverlayIntoGUI(font, mc.renderEngine, item, (int) pos.x(), (int) pos.y(), null);
|
||||
|
||||
GL11.glDisable(GL11.GL_BLEND);
|
||||
GuiScreen.itemRender.renderItemOverlayIntoGUI(font, mc.renderEngine, item, (int) pos.x(), (int) pos.y(), null);
|
||||
GL11.glClear(256);
|
||||
RenderHelper.disableStandardItemLighting();
|
||||
GL11.glPopAttrib();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user