Improve a TODO

related to issue #13
This commit is contained in:
James Seibel
2021-04-01 21:05:45 -05:00
parent a32082ad20
commit b4f1fb6d28
@@ -227,10 +227,15 @@ public class LodRenderer
// GL settings for rendering //
//===========================//
// TODO store the default values of each of these so they can be reset correctly
// currently what is done here works, but it may not work in future versions of
// Minecraft or with mods that effect rendering
// issue #13
// set the required open GL settings
GL11.glPolygonMode(GL11.GL_FRONT_AND_BACK, GL11.GL_FILL);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
GL11.glDisable(GL11.GL_TEXTURE_2D); // TODO store the default values of each of these so they can be reset correctly
GL11.glDisable(GL11.GL_TEXTURE_2D);
GL11.glEnable(GL11.GL_CULL_FACE);
GL11.glEnable(GL11.GL_COLOR_MATERIAL);
GL11.glEnable(GL11.GL_DEPTH_TEST);