fix skull cull
This commit is contained in:
parent
4ec8affe85
commit
e2f2417695
17 changed files with 42 additions and 38 deletions
|
@ -47,9 +47,11 @@ public class TileEntityItemStackRenderer
|
|||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef(-0.5F, 0.0F, -0.5F);
|
||||
GL11.glScalef(2.0F, 2.0F, 2.0F);
|
||||
boolean flag = GlState.isCullEbabled();
|
||||
GlState.disableCull();
|
||||
TileEntitySkullRenderer.instance.renderSkull(0.0F, 0.0F, 0.0F, Facing.UP, 0.0F, -1);
|
||||
GlState.enableCull();
|
||||
if(flag)
|
||||
GlState.enableCull();
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue