mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-14 12:10:30 +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:
parent
969feb4a1c
commit
ba976f9a16
@ -224,7 +224,7 @@ public class TileEntityMonitorRenderer extends TileEntityRenderer<TileMonitor>
|
|||||||
|
|
||||||
FixedWidthFontRenderer.drawBlocker(
|
FixedWidthFontRenderer.drawBlocker(
|
||||||
matrix, bufferSource.getBuffer( RenderTypes.TERMINAL_BLOCKER ),
|
matrix, bufferSource.getBuffer( RenderTypes.TERMINAL_BLOCKER ),
|
||||||
-xMargin, -yMargin, pixelWidth + xMargin, pixelHeight + yMargin
|
-xMargin, -yMargin, pixelWidth + xMargin * 2, pixelHeight + yMargin * 2
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user