GL_LIGHTING
This commit is contained in:
parent
a29b637a0a
commit
33283f5428
1 changed files with 2 additions and 2 deletions
|
@ -181,7 +181,7 @@ public class ItemRenderingHandler implements IItemRenderer
|
||||||
|
|
||||||
TextureManager renderEngine = Minecraft.getMinecraft().renderEngine;
|
TextureManager renderEngine = Minecraft.getMinecraft().renderEngine;
|
||||||
|
|
||||||
GL11.glDisable(2896);
|
GL11.glDisable(GL11.GL_LIGHTING);
|
||||||
GL11.glEnable(GL11.GL_CULL_FACE);
|
GL11.glEnable(GL11.GL_CULL_FACE);
|
||||||
|
|
||||||
if(!ForgeHooksClient.renderInventoryItem(renderBlocks, renderEngine, itemStack, true, 0.0F, 0.0F, 0.0F))
|
if(!ForgeHooksClient.renderInventoryItem(renderBlocks, renderEngine, itemStack, true, 0.0F, 0.0F, 0.0F))
|
||||||
|
@ -190,7 +190,7 @@ public class ItemRenderingHandler implements IItemRenderer
|
||||||
}
|
}
|
||||||
|
|
||||||
GL11.glDisable(GL11.GL_CULL_FACE);
|
GL11.glDisable(GL11.GL_CULL_FACE);
|
||||||
GL11.glEnable(2896);
|
GL11.glEnable(GL11.GL_LIGHTING);
|
||||||
GL11.glPopMatrix();
|
GL11.glPopMatrix();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue