RenderSystem.disableBlend() inside clearDepth
This commit is contained in:
parent
16fdd39ac6
commit
d1f5ed3916
@ -421,6 +421,7 @@ fun clearDepth(stack: PoseStack, x: Float, y: Float, width: Float, height: Float
|
||||
BufferUploader.drawWithShader(builder.buildOrThrow())
|
||||
|
||||
RenderSystem.defaultBlendFunc()
|
||||
RenderSystem.disableBlend()
|
||||
RenderSystem.depthFunc(GL_LESS)
|
||||
RenderSystem.disableDepthTest()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user