fix skull cull

This commit is contained in:
Sen 2025-03-19 22:40:25 +01:00
parent 4ec8affe85
commit e2f2417695
17 changed files with 42 additions and 38 deletions

View file

@ -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();
}
}