mirror of https://github.com/kami-blue/client
[fix] Hud texts turns into blocks caused by PlayerModel
This commit is contained in:
parent
3f2e0c486d
commit
b6f9b19009
|
@ -52,6 +52,8 @@ object PlayerModel : HudElement(
|
||||||
GlStateUtils.depth(false)
|
GlStateUtils.depth(false)
|
||||||
GlStateUtils.texture2d(true)
|
GlStateUtils.texture2d(true)
|
||||||
GlStateUtils.blend(true)
|
GlStateUtils.blend(true)
|
||||||
|
GlStateManager.tryBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)
|
||||||
|
|
||||||
GlStateManager.disableColorMaterial()
|
GlStateManager.disableColorMaterial()
|
||||||
glPopMatrix()
|
glPopMatrix()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue