Update to 1.21.5
This commit is contained in:
@@ -495,22 +495,34 @@ public class VideoRenderer implements RenderInfo {
|
||||
}
|
||||
|
||||
pushMatrix();
|
||||
//#if MC>=12105
|
||||
//$$ RenderSystem.getDevice()
|
||||
//$$ .createCommandEncoder()
|
||||
//$$ .clearColorAndDepthTextures(mc.getFramebuffer().getColorAttachment(), 0, mc.getFramebuffer().getDepthAttachment(), 1);
|
||||
//#else
|
||||
GlStateManager.clear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT
|
||||
//#if MC>=11400 && MC<12102
|
||||
, false
|
||||
//#endif
|
||||
);
|
||||
//#endif
|
||||
//#if MC<11904
|
||||
GlStateManager.enableTexture();
|
||||
//#endif
|
||||
guiWindow.beginWrite();
|
||||
|
||||
//#if MC>=11500
|
||||
//#if MC>=12105
|
||||
//$$ RenderSystem.getDevice()
|
||||
//$$ .createCommandEncoder()
|
||||
//$$ .clearColorAndDepthTextures(mc.getFramebuffer().getColorAttachment(), 0, mc.getFramebuffer().getDepthAttachment(), 1);
|
||||
//#else
|
||||
//#if MC>=12102
|
||||
//$$ RenderSystem.clear(256);
|
||||
//#else
|
||||
RenderSystem.clear(256, MinecraftClient.IS_SYSTEM_MAC);
|
||||
//#endif
|
||||
//#endif
|
||||
//#if MC>=11700
|
||||
//$$ RenderSystem.setProjectionMatrix(Matrix4f.projectionMatrix(
|
||||
//$$ 0,
|
||||
|
||||
Reference in New Issue
Block a user