mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-18 06:05:12 +00:00
Fix checkstyle :P
This commit is contained in:
@@ -138,12 +138,12 @@ public class TileEntityMonitorRenderer extends BlockEntityRenderer<TileMonitor>
|
|||||||
(float) -(ySize + MARGIN * 2) );
|
(float) -(ySize + MARGIN * 2) );
|
||||||
}
|
}
|
||||||
|
|
||||||
// FixedWidthFontRenderer.drawBlocker( transform.peek().getModel(),
|
// FixedWidthFontRenderer.drawBlocker( transform.peek().getModel(),
|
||||||
// renderer,
|
// renderer,
|
||||||
// (float) -TileMonitor.RENDER_MARGIN,
|
// (float) -TileMonitor.RENDER_MARGIN,
|
||||||
// (float) TileMonitor.RENDER_MARGIN,
|
// (float) TileMonitor.RENDER_MARGIN,
|
||||||
// (float) (xSize + 2 * TileMonitor.RENDER_MARGIN),
|
// (float) (xSize + 2 * TileMonitor.RENDER_MARGIN),
|
||||||
// (float) -(ySize + TileMonitor.RENDER_MARGIN * 2) );
|
// (float) -(ySize + TileMonitor.RENDER_MARGIN * 2) );
|
||||||
|
|
||||||
transform.pop();
|
transform.pop();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ public enum MonitorRenderer
|
|||||||
private static boolean textureBuffer = false;
|
private static boolean textureBuffer = false;
|
||||||
private static boolean shaderMod = false;
|
private static boolean shaderMod = false;
|
||||||
//TODO find out which shader mods do better with VBOs and add them here.
|
//TODO find out which shader mods do better with VBOs and add them here.
|
||||||
private static List<String> shaderModIds = Arrays.asList("aShaderModThatWouldPreferVBOs");
|
private static List<String> shaderModIds = Arrays.asList( "aShaderModThatWouldPreferVBOs" );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the current renderer to use.
|
* Get the current renderer to use.
|
||||||
@@ -81,7 +81,7 @@ public enum MonitorRenderer
|
|||||||
checkForShaderMods();
|
checkForShaderMods();
|
||||||
if ( textureBuffer && shaderMod )
|
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;
|
initialised = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user