Also fixed fog bug in 1.11

Closes #420
This commit is contained in:
Ellpeck 2016-11-29 20:44:07 +01:00
parent 962d1b3842
commit b4c912b4e1

View file

@ -215,8 +215,6 @@ public final class AssetUtil{
VertexBuffer render = tessy.getBuffer(); VertexBuffer render = tessy.getBuffer();
World world = Minecraft.getMinecraft().world; World world = Minecraft.getMinecraft().world;
GlStateManager.disableFog();
float r = color[0]; float r = color[0];
float g = color[1]; float g = color[1];
float b = color[2]; float b = color[2];
@ -316,8 +314,6 @@ public final class AssetUtil{
GlStateManager.disableBlend(); GlStateManager.disableBlend();
GlStateManager.enableLighting(); GlStateManager.enableLighting();
GlStateManager.popMatrix(); GlStateManager.popMatrix();
GlStateManager.enableFog();
} }
public static float[] getWheelColor(float pos){ public static float[] getWheelColor(float pos){