From e94d6ca965f5b1494802f48790b29ae0cbfbc076 Mon Sep 17 00:00:00 2001 From: LAX1DUDE Date: Fri, 14 Jan 2022 22:57:38 -0800 Subject: [PATCH] Update EntityRenderer.java --- src/main/java/net/minecraft/src/EntityRenderer.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/minecraft/src/EntityRenderer.java b/src/main/java/net/minecraft/src/EntityRenderer.java index 0935352..6e14809 100644 --- a/src/main/java/net/minecraft/src/EntityRenderer.java +++ b/src/main/java/net/minecraft/src/EntityRenderer.java @@ -906,6 +906,10 @@ public class EntityRenderer { double var9 = var4.lastTickPosY + (var4.posY - var4.lastTickPosY) * (double) par1; double var11 = var4.lastTickPosZ + (var4.posZ - var4.lastTickPosZ) * (double) par1; this.mc.mcProfiler.endStartSection("center"); + + EffectPipelineFXAA.displayWidth = this.mc.displayWidth; + EffectPipelineFXAA.displayHeight = this.mc.displayHeight; + EffectPipelineFXAA.beginPipelineRender(); for (int var13 = 0; var13 < 2; ++var13) { if (this.mc.gameSettings.anaglyph) { @@ -919,9 +923,6 @@ public class EntityRenderer { } EaglerAdapter.glViewport(0, 0, this.mc.displayWidth, this.mc.displayHeight); - EffectPipelineFXAA.displayWidth = this.mc.displayWidth; - EffectPipelineFXAA.displayHeight = this.mc.displayHeight; - EffectPipelineFXAA.beginPipelineRender(); this.mc.mcProfiler.endStartSection("clear"); EaglerAdapter.glClear(EaglerAdapter.GL_COLOR_BUFFER_BIT | EaglerAdapter.GL_DEPTH_BUFFER_BIT); this.updateFogColor(par1);