put global render state update at bottom or something
This commit is contained in:
parent
d1f5ed3916
commit
98a4e91df3
@ -105,10 +105,10 @@ class MatterReplicatorRenderer(private val context: BlockEntityRendererProvider.
|
||||
source.endBatch()
|
||||
} finally {
|
||||
lockBlendFunc = false
|
||||
glBlendColor(0f, 0f, 0f, 0f)
|
||||
}
|
||||
|
||||
RenderSystem.defaultBlendFunc()
|
||||
glBlendColor(0f, 0f, 0f, 0f)
|
||||
|
||||
pose.popPose()
|
||||
}
|
||||
|
@ -723,10 +723,12 @@ abstract class MatteryScreen<T : MatteryMenu>(menu: T, inventory: Inventory, tit
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
RenderSystem.enableDepthTest()
|
||||
}
|
||||
}
|
||||
|
||||
RenderSystem.disableDepthTest()
|
||||
RenderSystem.disableBlend()
|
||||
RenderSystem.defaultBlendFunc()
|
||||
}
|
||||
|
||||
override fun containerTick() {
|
||||
|
Loading…
Reference in New Issue
Block a user