RenderSystem.disableBlend() inside clearDepth

This commit is contained in:
DBotThePony 2024-08-28 19:17:52 +07:00
parent 16fdd39ac6
commit d1f5ed3916
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

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