From 14c69971f698d73eb9b2d5eb630fea3bf795adbc Mon Sep 17 00:00:00 2001 From: James Seibel Date: Thu, 4 Mar 2021 21:16:41 -0600 Subject: [PATCH] Fix a bug with holding grass blocks For some reason hold grass blocks (and presumably other biome colored blocks) would look gray if GL_COLOR_MATERIAL is disabled --- src/main/java/com/backsun/lod/renderer/LodRenderer.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/backsun/lod/renderer/LodRenderer.java b/src/main/java/com/backsun/lod/renderer/LodRenderer.java index 0d32ce863..a1134e6a5 100644 --- a/src/main/java/com/backsun/lod/renderer/LodRenderer.java +++ b/src/main/java/com/backsun/lod/renderer/LodRenderer.java @@ -310,7 +310,6 @@ public class LodRenderer GL11.glPolygonMode(GL11.GL_FRONT_AND_BACK, GL11.GL_FILL); GL11.glEnable(GL11.GL_TEXTURE_2D); GL11.glDisable(LOD_GL_LIGHT_NUMBER); - GL11.glDisable(GL11.GL_COLOR_MATERIAL); // this can't be called until after the buffers are built // because otherwise the buffers may be set to the wrong size