diff --git a/src/main/java/dan200/computercraft/client/render/TileEntityMonitorRenderer.java b/src/main/java/dan200/computercraft/client/render/TileEntityMonitorRenderer.java index 3e797aa7b..6dd81b5a2 100644 --- a/src/main/java/dan200/computercraft/client/render/TileEntityMonitorRenderer.java +++ b/src/main/java/dan200/computercraft/client/render/TileEntityMonitorRenderer.java @@ -138,12 +138,12 @@ public class TileEntityMonitorRenderer extends BlockEntityRenderer (float) -(ySize + MARGIN * 2) ); } -// FixedWidthFontRenderer.drawBlocker( transform.peek().getModel(), -// renderer, -// (float) -TileMonitor.RENDER_MARGIN, -// (float) TileMonitor.RENDER_MARGIN, -// (float) (xSize + 2 * TileMonitor.RENDER_MARGIN), -// (float) -(ySize + TileMonitor.RENDER_MARGIN * 2) ); + // FixedWidthFontRenderer.drawBlocker( transform.peek().getModel(), + // renderer, + // (float) -TileMonitor.RENDER_MARGIN, + // (float) TileMonitor.RENDER_MARGIN, + // (float) (xSize + 2 * TileMonitor.RENDER_MARGIN), + // (float) -(ySize + TileMonitor.RENDER_MARGIN * 2) ); transform.pop(); } diff --git a/src/main/java/dan200/computercraft/shared/peripheral/monitor/MonitorRenderer.java b/src/main/java/dan200/computercraft/shared/peripheral/monitor/MonitorRenderer.java index 43a65da96..953875f0e 100644 --- a/src/main/java/dan200/computercraft/shared/peripheral/monitor/MonitorRenderer.java +++ b/src/main/java/dan200/computercraft/shared/peripheral/monitor/MonitorRenderer.java @@ -43,7 +43,7 @@ public enum MonitorRenderer private static boolean textureBuffer = false; private static boolean shaderMod = false; //TODO find out which shader mods do better with VBOs and add them here. - private static List shaderModIds = Arrays.asList("aShaderModThatWouldPreferVBOs"); + private static List shaderModIds = Arrays.asList( "aShaderModThatWouldPreferVBOs" ); /** * Get the current renderer to use. @@ -81,7 +81,7 @@ public enum MonitorRenderer checkForShaderMods(); if ( textureBuffer && shaderMod ) { - ComputerCraft.log.warn("Shader mod detected. Enabling VBO renderer for compatibility."); + ComputerCraft.log.warn( "Shader mod detected. Enabling VBO renderer for compatibility." ); } initialised = true;