apparently the commits i did for glass pane didnt apply so

This commit is contained in:
piebot
2026-03-26 20:41:29 +03:00
parent 42af4ed545
commit 74c197cc15
5 changed files with 58 additions and 3 deletions

View File

@@ -243,8 +243,11 @@ void ItemInHandRenderer::renderItem(shared_ptr<LivingEntity> mob, shared_ptr<Ite
MemSect(31);
minecraft->textures->bindTexture(minecraft->textures->getTextureLocation(Icon::TYPE_TERRAIN));
MemSect(0);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
tileRenderer->renderTile(Tile::tiles[item->id], item->getAuxValue(), SharedConstants::TEXTURE_LIGHTING ? 1.0f : mob->getBrightness(1)); // 4J - change brought forward from 1.8.2
}
glDisable(GL_BLEND);
}
else
{
MemSect(31);