mirror of https://github.com/kami-blue/client
[fix] Inventory player model rendering
This commit is contained in:
parent
0b2b20b9a0
commit
b586fb6ec5
|
@ -249,6 +249,8 @@ abstract class AbstractKamiGui<S : SettingWindow<*>, E : Any> : GuiScreen() {
|
|||
GlStateUtils.rescaleMc()
|
||||
glTranslatef(0.0f, -(scaledResolution.scaledHeight * (1.0f - multiplier)), 0.0f)
|
||||
drawTypedString()
|
||||
|
||||
GlStateUtils.depth(false)
|
||||
}
|
||||
|
||||
private fun drawBackground(vertexHelper: VertexHelper, partialTicks: Float) {
|
||||
|
|
|
@ -64,6 +64,7 @@ object KamiHudGui : AbstractKamiGui<HudSettingWindow, HudElement>() {
|
|||
}
|
||||
|
||||
GlStateUtils.rescaleMc()
|
||||
GlStateUtils.depth(true)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ object RenderUtils2D {
|
|||
GlStateManager.color(1.0f, 1.0f, 1.0f, 1.0f)
|
||||
|
||||
GlStateUtils.depth(false)
|
||||
GlStateUtils.texture2d(true)
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
|
|
Loading…
Reference in New Issue