[fix] Inventory player model rendering

This commit is contained in:
Xiaro 2021-01-06 15:02:29 -05:00
parent 0b2b20b9a0
commit b586fb6ec5
No known key found for this signature in database
GPG Key ID: 996D265D6E155377
3 changed files with 4 additions and 0 deletions

View File

@ -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) {

View File

@ -64,6 +64,7 @@ object KamiHudGui : AbstractKamiGui<HudSettingWindow, HudElement>() {
}
GlStateUtils.rescaleMc()
GlStateUtils.depth(true)
}
}

View File

@ -30,6 +30,7 @@ object RenderUtils2D {
GlStateManager.color(1.0f, 1.0f, 1.0f, 1.0f)
GlStateUtils.depth(false)
GlStateUtils.texture2d(true)
}
@JvmStatic