mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-11 19:53:52 +00:00
Revert "Fixed stained glass and glass pane not rendering the water and held item transparency for stained glass and pane (#748)"
This reverts commit a4214805d1.
This commit is contained in:
parent
a4214805d1
commit
4e67706dc3
4 changed files with 2 additions and 14 deletions
|
|
@ -745,12 +745,7 @@ void GameRenderer::renderItemInHand(float a, int eye)
|
|||
{
|
||||
turnOnLightLayer(a);
|
||||
PIXBeginNamedEvent(0,"Item in hand render");
|
||||
glEnable(GL_BLEND);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
glDepthMask(false);
|
||||
itemInHandRenderer->render(a);
|
||||
glDepthMask(true);
|
||||
glDisable(GL_BLEND);
|
||||
PIXEndNamedEvent();
|
||||
turnOffLightLayer(a);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue