mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 03:36:47 -04:00
Fixed scaling of text in robot screens when using custom (lower) resolutions.
This commit is contained in:
parent
0c6d509227
commit
52918b5bcc
@ -132,7 +132,7 @@ class Robot(playerInventory: InventoryPlayer, val robot: tileentity.Robot) exten
|
||||
else if (scaleY > scale) {
|
||||
GL11.glTranslated(0, buffer.renderHeight * (scaleY - scale) / 2, 0)
|
||||
}
|
||||
// GL11.glScaled(scale, scale, scale)
|
||||
GL11.glScaled(scale, scale, scale)
|
||||
GL11.glScaled(this.scale, this.scale, 1)
|
||||
BufferRenderer.drawText(buffer)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user