1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-11-06 08:22:59 +00:00

Fix monitor depth blocker being too small

This allowed you to see transparent blocks through the bottom/right
margins of the monitor when using the VBO renderer.
This commit is contained in:
Jonathan Coates
2022-07-16 22:07:15 +01:00
parent 969feb4a1c
commit ba976f9a16

View File

@@ -224,7 +224,7 @@ public class TileEntityMonitorRenderer extends TileEntityRenderer<TileMonitor>
FixedWidthFontRenderer.drawBlocker(
matrix, bufferSource.getBuffer( RenderTypes.TERMINAL_BLOCKER ),
-xMargin, -yMargin, pixelWidth + xMargin, pixelHeight + yMargin
-xMargin, -yMargin, pixelWidth + xMargin * 2, pixelHeight + yMargin * 2
);
break;
}