fixed memory use method and put F4 as debug key

This commit is contained in:
Leonardo
2021-08-28 12:41:54 +02:00
parent e3e8ef705a
commit 26fbdfc92c
4 changed files with 16 additions and 3 deletions
@@ -275,7 +275,11 @@ public class LodRenderer
//===========================//
// set the required open GL settings
GL11.glPolygonMode(GL11.GL_FRONT_AND_BACK, GL11.GL_FILL);
if(LodConfig.CLIENT.debugMode.get()){
GL11.glPolygonMode(GL11.GL_FRONT_AND_BACK, GL11.GL_LINE);
}else{
GL11.glPolygonMode(GL11.GL_FRONT_AND_BACK, GL11.GL_FILL);
}
//GL11.glPolygonMode(GL11.GL_FRONT_AND_BACK, GL11.GL_LINE);
//GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
GL11.glDisable(GL11.GL_TEXTURE_2D);