[fix] Hud texts turns into blocks caused by PlayerModel

This commit is contained in:
Xiaro 2021-01-08 19:42:50 -05:00
parent 3f2e0c486d
commit b6f9b19009
No known key found for this signature in database
GPG Key ID: 996D265D6E155377
1 changed files with 2 additions and 0 deletions

View File

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