Move where the fog setup happens

This commit is contained in:
James Seibel
2021-01-28 14:18:55 -06:00
parent 4c19e0dc52
commit 983c00df4b
@@ -233,6 +233,7 @@ public class LodRenderer
GL11.glPolygonMode(GL11.GL_FRONT_AND_BACK, GL11.GL_FILL);
GL11.glEnable(GL11.GL_BLEND);
setupFog(FogDistanceMode.NEAR, ofConfig.getFogType());
@@ -379,8 +380,6 @@ public class LodRenderer
colorIndex++;
}
setupFog(FogDistanceMode.NEAR, ofConfig.getFogType());
mc.world.profiler.endStartSection("LOD draw");
// draw the LODs